debug
parent
6d0bb25294
commit
dd77490934
|
|
@ -34,18 +34,18 @@ class AlipayLifeController extends CommonController
|
|||
*/
|
||||
public function Index()
|
||||
{
|
||||
// file_put_contents('./gggggg.txt', json_encode($_GET));
|
||||
// file_put_contents('./pppppp.txt', json_encode($_POST));
|
||||
file_put_contents('./gggggg.php', "<?php\n\rreturn ".var_export($_GET, true).";\n\r?>");
|
||||
file_put_contents('./pppppp.php', "<?php\n\rreturn ".var_export($_POST, true).";\n\r?>");
|
||||
// file_put_contents('./ffffff.txt', urldecode(file_get_contents("php://input")));
|
||||
|
||||
|
||||
// 参数
|
||||
$params = $_POST;
|
||||
file_put_contents('./pppppp.txt', json_encode($_POST));
|
||||
//file_put_contents('./pppppp.txt', json_encode($_POST));
|
||||
if(empty($params))
|
||||
{
|
||||
$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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue