1
This commit is contained in:
parent
3085aaa3e6
commit
7fe4b6dd8c
@ -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'],
|
||||
|
||||
@ -746,7 +746,7 @@ class ImService extends BaseService
|
||||
* @param string $disease_desc
|
||||
* @return void
|
||||
*/
|
||||
public function patientCase(array|object $order_inquiry, string $doctor_user_id,string $disease_desc): void
|
||||
public function patientCase(array|object $order_inquiry, string $doctor_user_id,string|null $disease_desc): void
|
||||
{
|
||||
try {
|
||||
// 发送消息
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user