From 25a868ad640cd3e974a1c7650865b497cd739316 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Fri, 26 Jan 2024 15:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=8A=E6=8A=A5=E7=9B=91?= =?UTF-8?q?=E7=AE=A1=E5=B9=B3=E5=8F=B0dump=E6=89=93=E5=8D=B0=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0log=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/RegulatoryPlatform/regulatoryPlatform.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extend/RegulatoryPlatform/regulatoryPlatform.php b/extend/RegulatoryPlatform/regulatoryPlatform.php index 1d25f32..14ca004 100644 --- a/extend/RegulatoryPlatform/regulatoryPlatform.php +++ b/extend/RegulatoryPlatform/regulatoryPlatform.php @@ -156,7 +156,6 @@ class regulatoryPlatform ]; $response = $this->httpRequest($this->api_url . '/wjw/upload/uploadFurtherConsult', $option); - dump($response); if (isset($response['status'])) { if ($response['status'] != 0) { if (!empty($response['message'])) { @@ -229,7 +228,7 @@ class regulatoryPlatform $arg = array_merge($arg, $option); } - Log::getInstance()->info(json_encode($arg,JSON_UNESCAPED_UNICODE)); + Log::getInstance("regulatoryPlatform-httpRequest")->info(json_encode($arg,JSON_UNESCAPED_UNICODE)); $response = $this->client->post($path, $arg); if ($response->getStatusCode() != '200') { @@ -238,7 +237,7 @@ class regulatoryPlatform } $body = json_decode($response->getBody(), true); - Log::getInstance()->info(json_encode($body,JSON_UNESCAPED_UNICODE)); + Log::getInstance("regulatoryPlatform-httpRequest")->info(json_encode($body,JSON_UNESCAPED_UNICODE)); if (empty($body)) { // 返回值为空 throw new BusinessException(HttpEnumCode::getMessage(HttpEnumCode::SERVER_ERROR));