shish hai 6 meses
pai
achega
fad46b03a9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app-mall/controllers/OrderController.php

+ 1 - 1
app-mall/controllers/OrderController.php

@@ -431,7 +431,7 @@ class OrderController extends BaseController
                         util::fail('红包已作废');
                         util::fail('红包已作废');
                     }
                     }
                     if ($hb->endTime < time()) {
                     if ($hb->endTime < time()) {
-                        $hb->save = -1;
+                        $hb->status = -1;
                         $hb->save();
                         $hb->save();
                         util::fail('红包已失效');
                         util::fail('红包已失效');
                     }
                     }