From fe2700ae1d56d94022a3e6f319ddbaaae63df149 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Tue, 8 Jan 2019 01:43:42 +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 6bc34eb99..16d634a08 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']) ? file_get_contents('php://input') : $this->XmlToArray($GLOBALS['HTTP_RAW_POST_DATA']); + $result = empty($GLOBALS['HTTP_RAW_POST_DATA']) ? $this->XmlToArray(file_get_contents('php://input')) : $this->XmlToArray($GLOBALS['HTTP_RAW_POST_DATA']); file_put_contents(ROOT.'gggggg.txt', json_encode($result)); -- GitLab