From 541ae61a6c758961e3cc39d6a70cd4eefb27303f Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Tue, 23 Oct 2018 01:21:27 +0800 Subject: [PATCH] debug --- .../Application/Api/Controller/AlipayLifeController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service/Application/Api/Controller/AlipayLifeController.class.php b/service/Application/Api/Controller/AlipayLifeController.class.php index 5885c2a61..905cfa363 100644 --- a/service/Application/Api/Controller/AlipayLifeController.class.php +++ b/service/Application/Api/Controller/AlipayLifeController.class.php @@ -41,11 +41,12 @@ class AlipayLifeController extends CommonController // 参数 $params = $_POST; + file_put_contents('./pppppp.txt', $params); if(empty($params)) { $input = file_get_contents("php://input"); file_put_contents('./pppppp.txt', file_get_contents("php://input")); - + if(!empty($input)) { $params = iconv("GBK", "UTF-8", urldecode($input));