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

add stop equipment

@@ -132,7 +132,7 @@ class AdminEquipmentController extends AdminBaseController{ @@ -132,7 +132,7 @@ class AdminEquipmentController extends AdminBaseController{
132 $order=\db('order')->where($map)->find(); 132 $order=\db('order')->where($map)->find();
133 /*结束订单*/ 133 /*结束订单*/
134 $data['end_time']=time(); 134 $data['end_time']=time();
135 - $info=action('Order/getPrice',[$order['users_id'],$order['start_time'],time()]); 135 + $info['price']=action('Order/getPrice',[$order['users_id'],$order['start_time'],time()]);
136 dump($info); 136 dump($info);
137 exit; 137 exit;
138 $data['state']=2; 138 $data['state']=2;