From 07f0467484b8c7e65d372074145785d2c8ab0756 Mon Sep 17 00:00:00 2001 From: haomingming Date: Tue, 8 Sep 2026 11:22:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/Prescription/Prescription.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extend/Prescription/Prescription.php b/extend/Prescription/Prescription.php index 9291177..ae0e0ef 100644 --- a/extend/Prescription/Prescription.php +++ b/extend/Prescription/Prescription.php @@ -106,7 +106,7 @@ class Prescription ), ]; - // Log::getInstance()->info("处方平台获取药品请求数据:" . json_encode($option,JSON_UNESCAPED_UNICODE)); + Log::getInstance()->info("处方平台获取药品请求数据:" . json_encode($option,JSON_UNESCAPED_UNICODE)); try { $response = $this->httpRequest($this->api_url . $this->version . '/drug/syncDrugCatalogue', $option); if (empty($response['data'])){ @@ -121,11 +121,11 @@ class Prescription if (empty($response['data']['result'])){ // 返回值为空 - // Log::getInstance()->error("处方平台获取药品返回result为空:" . json_encode($response,JSON_UNESCAPED_UNICODE)); + Log::getInstance()->error("处方平台获取药品返回result为空:" . json_encode($response,JSON_UNESCAPED_UNICODE)); throw new BusinessException(HttpEnumCode::getMessage(HttpEnumCode::SERVER_ERROR)); } - // Log::getInstance()->info("处方平台获取药品返回数据:" . json_encode($response,JSON_UNESCAPED_UNICODE)); + Log::getInstance()->info("处方平台获取药品返回数据:" . json_encode($response,JSON_UNESCAPED_UNICODE)); return $response['data']['result']; } catch (GuzzleException $e) { Log::getInstance()->error("处方平台获取药品请求异常:" . $e->getMessage());