From 6a16df847ed7beeaaf5c00b541a3390aa299b4ae Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 15 Jul 2019 18:35:24 +0800 Subject: [PATCH] Update ReceiveHandler.php --- application/service/handler/ReceiveHandler.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/service/handler/ReceiveHandler.php b/application/service/handler/ReceiveHandler.php index f860f410b..2f43bb1f7 100644 --- a/application/service/handler/ReceiveHandler.php +++ b/application/service/handler/ReceiveHandler.php @@ -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; }