From 0d72b05c62d092c70e3f6bb3feceff87f23b5743 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 16 Sep 2019 14:07:40 +0800 Subject: [PATCH] 1 --- webapp/controller/KefuController.class.php | 3 +++ 1 file changed, 3 insertions(+) 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)