From 033ec293bf890897b8e79d2b3c5c92d88e075203 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Tue, 8 Jan 2019 01:42:45 +0800 Subject: [PATCH] debug --- extend/payment/WeixinMini.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/payment/WeixinMini.php b/extend/payment/WeixinMini.php index 66b55e68b..6bc34eb99 100644 --- a/extend/payment/WeixinMini.php +++ b/extend/payment/WeixinMini.php @@ -212,7 +212,7 @@ class WeixinMini */ public function Respond($params = []) { - $result = empty($GLOBALS['HTTP_RAW_POST_DATA']) ? '' : $this->XmlToArray($GLOBALS['HTTP_RAW_POST_DATA']); + $result = empty($GLOBALS['HTTP_RAW_POST_DATA']) ? file_get_contents('php://input') : $this->XmlToArray($GLOBALS['HTTP_RAW_POST_DATA']); file_put_contents(ROOT.'gggggg.txt', json_encode($result)); -- GitLab