This commit is contained in:
2023-08-10 15:21:54 +08:00
parent 3085aaa3e6
commit 7fe4b6dd8c
2 changed files with 11 additions and 3 deletions
+10 -2
View File
@@ -1333,7 +1333,7 @@ class CallBackController extends AbstractController
// 获取检测订单数据
$params = array();
$params['detection_no'] = "D548076621233111040";
$params['detection_no'] = "D548154592174350336";
$order_detection = OrderDetection::getOne($params);
if (empty($order_detection)){
return $this->detectionResultFailReturn("非法订单");
@@ -1456,8 +1456,16 @@ class CallBackController extends AbstractController
return $this->detectionResultFailReturn("添加自动完成队列失败");
}
// 发送IM消息-检测报告结果
// 发送im消息
$imService = new ImService();
// 患者病例
$imService->patientCase(
$order_inquiry,
$user_doctor['user_id'],
$order_inquiry_case['disease_desc']
);
// 发送IM消息-检测报告结果
$imService->detectionTestReport(
$order_detection,
$user_doctor['user_id'],