debug
parent
ac78164372
commit
541ae61a6c
|
|
@ -41,11 +41,12 @@ class AlipayLifeController extends CommonController
|
||||||
|
|
||||||
// 参数
|
// 参数
|
||||||
$params = $_POST;
|
$params = $_POST;
|
||||||
|
file_put_contents('./pppppp.txt', $params);
|
||||||
if(empty($params))
|
if(empty($params))
|
||||||
{
|
{
|
||||||
$input = file_get_contents("php://input");
|
$input = file_get_contents("php://input");
|
||||||
file_put_contents('./pppppp.txt', file_get_contents("php://input"));
|
file_put_contents('./pppppp.txt', file_get_contents("php://input"));
|
||||||
|
|
||||||
if(!empty($input))
|
if(!empty($input))
|
||||||
{
|
{
|
||||||
$params = iconv("GBK", "UTF-8", urldecode($input));
|
$params = iconv("GBK", "UTF-8", urldecode($input));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue