调整记录日志的格式

master
李春波 8 months ago
parent f6b7b9eb2e
commit 7db152a4d6
  1. 4
      app/common/service/wechat/OpenPlatform.php

@ -209,7 +209,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);
@ -222,7 +222,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