...
|
...
|
@@ -303,7 +303,7 @@ class UsersController extends HomeBaseController{ |
|
|
->field('o.order_no,o.users_id,o.start_time,e.serial_number,e.hospital')
|
|
|
->where(['o.users_id'=>$users_id,'o.state'=>1,'o.type'=>1,'e.is_delete'=>0])
|
|
|
->find();
|
|
|
if ($order){
|
|
|
if (empty($order)){
|
|
|
$this->apiResponse(200,'没有未完成订单');
|
|
|
}
|
|
|
$order['end_time']=time();
|
...
|
...
|
|