mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-28 01:19:15 +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())];
|
||||
if (is_string($result = http_post($config['appuri'], $input, ['timeout' => 30]))) {
|
||||
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 {
|
||||
return $result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user