This commit is contained in:
aozhiwei 2019-09-16 14:07:40 +08:00
parent a93215bd6c
commit 0d72b05c62

View File

@ -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)