diff --git a/extend/Prescription/Prescription.php b/extend/Prescription/Prescription.php index 88d6911..7f0f493 100644 --- a/extend/Prescription/Prescription.php +++ b/extend/Prescription/Prescription.php @@ -291,9 +291,7 @@ class Prescription // 记录请求日志(隐藏敏感信息) $logArg = $arg; - if (isset($logArg['headers']['Authorization'])) { - $logArg['headers']['Authorization'] = 'Bearer ***'; - } + Log::getInstance()->info("处方平台HTTP请求:" . $path . ",请求参数:" . json_encode($logArg,JSON_UNESCAPED_UNICODE)); $response = $this->client->post($path, $arg);