From 9f07923735ab43bd7e4fdc975e199d5b82cf00ca Mon Sep 17 00:00:00 2001 From: Devil Date: Thu, 7 Oct 2021 00:09:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E6=97=A5=E5=BF=97=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/PayRequestLogService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/service/PayRequestLogService.php b/app/service/PayRequestLogService.php index 933e3112e..1e8f3bff9 100644 --- a/app/service/PayRequestLogService.php +++ b/app/service/PayRequestLogService.php @@ -47,7 +47,7 @@ class PayRequestLogService // 日志主数据 $data = [ 'business_type' => $business_type, - 'request_params' => empty($params) ? '' : (is_array($params) ? json_encode($params, JSON_UNESCAPED_UNICODE) : $params), + 'request_params' => empty($params) ? '' : (is_array($params) ? json_encode($params, JSON_UNESCAPED_UNICODE) : htmlspecialchars_decode($params)), 'response_data' => '', 'business_handle' => '', 'request_url' => $behavior_obj->GetUrl('request'),