This commit is contained in:
gongfuxiang 2018-10-23 01:34:56 +08:00
parent 1a375aa681
commit 949f80f7c3

View File

@ -39,12 +39,13 @@ class AlipayLifeController extends CommonController
// 参数 // 参数
$params = $_POST; $params = $_POST;
file_put_contents('./pppppp.php', "<?php\n\rreturn ".var_export($params['service'], true).";\n\r?>");
if(empty($params['service'])) if(empty($params['service']))
{ {
die('service error'); die('service error');
} }
file_put_contents('./pppppp.php', "<?php\n\rreturn ".var_export($params, true).";\n\r?>");
// 类库 // 类库
$o = new \Library\AlipayLife($params); $o = new \Library\AlipayLife($params);