diff --git a/app/Services/ImService.php b/app/Services/ImService.php index 4df8c80..41bdf17 100644 --- a/app/Services/ImService.php +++ b/app/Services/ImService.php @@ -693,7 +693,7 @@ class ImService extends BaseService $message_content_data['desc'] = ""; $message_content_data['data']['order_no'] = (string)$order_detection['detection_no']; $message_content_data['data']['disease_class_names'] = $disease_class_names; - $message_content_data['data']['message_path'] = "/pages/checkOrderDetail/checkOrderDetail?order_detection_id=" . $order_detection['detection_no']; // 跳转地址(小程序内页) + $message_content_data['data']['detection_link'] = addAliyunOssWebsite($order_detection['detection_result_pdf']);// 检测结果链接(oss) $message_content = [ 'Data' => json_encode($message_content_data, JSON_UNESCAPED_UNICODE), ]; diff --git a/app/Services/InquiryService.php b/app/Services/InquiryService.php index 6bfaaf8..2aac429 100644 --- a/app/Services/InquiryService.php +++ b/app/Services/InquiryService.php @@ -494,7 +494,7 @@ class InquiryService extends BaseService if (!empty($detection_project)){ $order_inquiry_case['detection_project']['detection_project_name'] = $detection_project['detection_project_name']; // 检测项目名称 $order_inquiry_case['detection_project']['detection_time'] = $order_detection['detection_time']; // 检测时间 - $order_inquiry_case['detection_project']['detection_link'] = addAliyunOssWebsite($detection_project['detection_result_pdf']); // 检测结果链接 + $order_inquiry_case['detection_project']['detection_link'] = addAliyunOssWebsite($order_detection['detection_result_pdf']); // 检测结果链接 } } }