...
|
...
|
@@ -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();
|
...
|
...
|
|