From ac78164372b44a7887242ce56b28f9996f93ef84 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Tue, 23 Oct 2018 01:20:45 +0800 Subject: [PATCH] debug --- .../Application/Api/Controller/AlipayLifeController.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/service/Application/Api/Controller/AlipayLifeController.class.php b/service/Application/Api/Controller/AlipayLifeController.class.php index 6197e96a6..5885c2a61 100644 --- a/service/Application/Api/Controller/AlipayLifeController.class.php +++ b/service/Application/Api/Controller/AlipayLifeController.class.php @@ -44,12 +44,14 @@ class AlipayLifeController extends CommonController 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)); } } - file_put_contents('./pppppp.txt', file_get_contents("php://input")); + if(empty($params['service'])) { die('service error');