...
|
...
|
@@ -385,7 +385,7 @@ class User extends Api |
|
|
empty($appointment_id) && $this->error('缺少必需参数');
|
|
|
$appointment = Appointment::get(['user_id'=>$this->auth->id,'id'=>$appointment_id]);
|
|
|
empty($appointment) && $this->error('预约不存在');
|
|
|
!in_array($appointment['status'],'1,2') && $this->error('订单不合法');
|
|
|
!in_array($appointment['status'],['1,2']) && $this->error('订单不合法');
|
|
|
if($appointment['status'] == '1'){
|
|
|
$tim = new Tim();
|
|
|
// 导入用户
|
...
|
...
|
|