mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-29 01:49:16 +08:00
Update ReceiveHandler.php
This commit is contained in:
parent
502a0f7845
commit
6a16df847e
@ -55,7 +55,10 @@ class ReceiveHandler
|
|||||||
$input = ['openid' => $openid, 'appid' => $appid, 'receive' => serialize($data), 'encrypt' => intval($service->isEncrypt())];
|
$input = ['openid' => $openid, 'appid' => $appid, 'receive' => serialize($data), 'encrypt' => intval($service->isEncrypt())];
|
||||||
if (is_string($result = http_post($config['appuri'], $input, ['timeout' => 30]))) {
|
if (is_string($result = http_post($config['appuri'], $input, ['timeout' => 30]))) {
|
||||||
if (is_array($json = json_decode($result, true))) {
|
if (is_array($json = json_decode($result, true))) {
|
||||||
return $service->reply($json, true, true);
|
$xml = $service->reply($json, true, true);
|
||||||
|
p("");
|
||||||
|
p("====== 准备回复的内容如下 ========");
|
||||||
|
p($xml);
|
||||||
} else {
|
} else {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user