2
This commit is contained in:
@@ -1369,6 +1369,8 @@ class InquiryService extends BaseService
|
||||
}
|
||||
|
||||
// 获取是否已经预约
|
||||
$is_reservation = false;
|
||||
|
||||
$params = array();
|
||||
$params['order_inquiry_id'] = $order_inquiry_id;
|
||||
$order_inquiry_video = OrderInquiryVideo::getOne($params);
|
||||
@@ -1382,6 +1384,8 @@ class InquiryService extends BaseService
|
||||
if ($order_inquiry_video['update_number'] >= 1){
|
||||
return fail(HttpEnumCode::HTTP_ERROR, "已无法设置/修改视频时间,可立即发起视频");
|
||||
}
|
||||
|
||||
$is_reservation = true;
|
||||
}
|
||||
|
||||
// 创建订单
|
||||
@@ -1435,7 +1439,11 @@ class InquiryService extends BaseService
|
||||
// 发送im消息
|
||||
$imService = new ImService();
|
||||
|
||||
|
||||
if ($is_reservation){
|
||||
// 修改
|
||||
}else{
|
||||
// 新增
|
||||
}
|
||||
// 发送短信-患者-视频预约成功
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user