1
This commit is contained in:
parent
a93215bd6c
commit
0d72b05c62
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user