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');