feat/task1-c-wallet
gongfuxiang 2018-10-23 01:21:27 +08:00
parent ac78164372
commit 541ae61a6c
1 changed files with 2 additions and 1 deletions

View File

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