修改上报数据

This commit is contained in:
wucongxing 2023-08-16 13:52:54 +08:00
parent 76661ed7b7
commit 7663a6512c
2 changed files with 3 additions and 2 deletions

View File

@ -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'];

View File

@ -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);
}