diff --git a/webapp/controller/KefuController.class.php b/webapp/controller/KefuController.class.php index efa8bcc..a2d25c2 100644 --- a/webapp/controller/KefuController.class.php +++ b/webapp/controller/KefuController.class.php @@ -216,6 +216,8 @@ class KefuController { $url = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=" . urlencode($access_token); $response = ''; + error_log('kefu_openid'); + error_log(json_encode($data, JSON_UNESCAPED_UNICODE)); if (!phpcommon\HttpClient::post($url, json_encode($data, JSON_UNESCAPED_UNICODE), $response) @@ -233,6 +235,7 @@ class KefuController { $url = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=$access_token"; $response = ''; + error_log(json_encode($data, JSON_UNESCAPED_UNICODE)); if (!phpcommon\HttpClient::post($url, json_encode($data, JSON_UNESCAPED_UNICODE), $response)