feat/task1-c-wallet
gongfuxiang 2018-10-23 01:26:30 +08:00
parent 6d0bb25294
commit dd77490934
1 changed files with 4 additions and 4 deletions

View File

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