调整记录日志的格式

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

Loading…
Cancel
Save