作者 sgj
1 个管道 的构建 通过 耗费 0 秒

add stop equipment

@@ -137,7 +137,7 @@ class AdminEquipmentController extends AdminBaseController{ @@ -137,7 +137,7 @@ class AdminEquipmentController extends AdminBaseController{
137 //Db::name('equipment')->where('id',$id)->update(['use'=>0]); 137 //Db::name('equipment')->where('id',$id)->update(['use'=>0]);
138 /*结束订单*/ 138 /*结束订单*/
139 $data['end_time']=time(); 139 $data['end_time']=time();
140 - $data['price']=action('Order/getPrice',[$order['user_id'],$order['start_time'],time()]); 140 + $data['price']=action('Order/getPrice',[$order['users_id'],$order['start_time'],time()]);
141 // $data['price']= $Order->getPrice($order['users_id'],$order['start_time'],time()); 141 // $data['price']= $Order->getPrice($order['users_id'],$order['start_time'],time());
142 dump($data); 142 dump($data);
143 143