调整记录日志的格式

(cherry picked from commit 7db152a4d6)
dev
李春波 8 months ago
parent 079cf71b40
commit df945a7b4e
  1. 4
      app/common/service/wechat/OpenPlatform.php

@ -222,7 +222,7 @@ class OpenPlatform extends BaseServices {
'appid' => $data['AppId'],
'authorizer_appid' => $data['AuthorizerAppid'] ?? null,
'infotype' => $data['InfoType'],
'postbody' => json_encode($data),
'postbody' => json_encode($data, JSON_UNESCAPED_UNICODE),
'receivetime' => $data['CreateTime']
];
WxcallbackComponent::create($row);
@ -235,7 +235,7 @@ class OpenPlatform extends BaseServices {
'tousername' => $data['ToUserName'],
'msgtype' => $data['MsgType'],
'event' => $data['Event'],
'postbody' => json_encode($data),
'postbody' => json_encode($data, JSON_UNESCAPED_UNICODE),
'receivetime' => $data['CreateTime']
];
WxcallbackBiz::create($row);

Loading…
Cancel
Save