From 7663a6512c8215be0675268ad9e20a3195fe12d6 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Wed, 16 Aug 2023 13:52:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E6=8A=A5=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Controller/CallBackController.php | 4 ++-- app/Services/PatientOrderService.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Controller/CallBackController.php b/app/Controller/CallBackController.php index 8a879bd..892a6d8 100644 --- a/app/Controller/CallBackController.php +++ b/app/Controller/CallBackController.php @@ -1335,6 +1335,8 @@ class CallBackController extends AbstractController return $this->detectionResultFailReturn("非法请求"); } + Log::getInstance("CallBackController-DetectionResultCallBack")->info("处理检测所结果"); + try { // 检测参数 if (!isset($request_params['appId'])){ @@ -1373,8 +1375,6 @@ class CallBackController extends AbstractController return $this->detectionResultFailReturn("文件错误"); } - Log::getInstance("CallBackController-DetectionResultCallBack")->info(json_encode($request_params, JSON_UNESCAPED_UNICODE)); - // 获取检测订单数据 $params = array(); $params['detection_no'] = $request_params['orderCode']; diff --git a/app/Services/PatientOrderService.php b/app/Services/PatientOrderService.php index 8849a8c..b1488a3 100644 --- a/app/Services/PatientOrderService.php +++ b/app/Services/PatientOrderService.php @@ -1752,6 +1752,7 @@ class PatientOrderService extends BaseService } $order_detection['detection_project_name'] = $detection_project['detection_project_name']; + $order_detection['detection_result_pdf'] = addAliyunOssWebsite($order_detection['detection_result_pdf']); return success($order_detection); }