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

add stop equipment

... ... @@ -137,8 +137,8 @@ class AdminEquipmentController extends AdminBaseController{
//Db::name('equipment')->where('id',$id)->update(['use'=>0]);
/*结束订单*/
$data['end_time']=time();
$Order=new OrderController();
$data['price']= $Order->getPrice($order['users_id'],$order['start_time'],time());
// $data['price']= $Order->getPrice($order['users_id'],$order['start_time'],time());
dump($data);
// \db('order')->where($map)->update();
... ...