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

add stop equipment

... ... @@ -134,7 +134,7 @@ class AdminEquipmentController extends AdminBaseController{
/*结束订单*/
$data['end_time']=time();
$info['price']=action('Order/onlyGetPrice',[$order['users_id'],$order['start_time'],time()]);
$info['price']=action('Order/GetPrice',[$order['users_id'],$order['start_time'],time()]);
$data['state']=2;
$data['price']=$info['price'];
$data['time']=ceil((time()-$order['start_time'])/3600);
... ...