mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-07 06:15:29 +08:00
debug
This commit is contained in:
@ -45,7 +45,7 @@ class AlipayLifeController extends CommonController
|
||||
}
|
||||
|
||||
// 类库
|
||||
$o = new \Library\AlipayLife($params);
|
||||
$obj = new \Library\AlipayLife($params);
|
||||
|
||||
file_put_contents('./pppppp.php', "<?php\n\rreturn ".var_export($params, true).";\n\r?>");
|
||||
// 根据方法处理
|
||||
@ -53,12 +53,12 @@ class AlipayLifeController extends CommonController
|
||||
{
|
||||
// 校验
|
||||
case 'alipay.service.check' :
|
||||
$o->Check();
|
||||
$obj->Check();
|
||||
break;
|
||||
|
||||
// 关注/取消
|
||||
case 'alipay.mobile.public.message.notify' :
|
||||
$o->Life();
|
||||
$obj->Life();
|
||||
break;
|
||||
|
||||
// 默认
|
||||
|
||||
@ -33,6 +33,7 @@ class AlipayLife
|
||||
*/
|
||||
public function __construct($params = [])
|
||||
{
|
||||
file_put_contents('./pppppp.php', "<?php\n\rreturn ".var_export($params, true).";\n\r?>");
|
||||
$this->params = $params;
|
||||
$this->xml_data = isset($params['biz_content']) ? $this->xmlToArray($params['biz_content']) : '';
|
||||
$this->life_data = isset($this->xml_data['AppId']) ? AlipayLifeService::AppidLifeRow(['appid'=>$this->xml_data['AppId']]) : '';
|
||||
|
||||
Reference in New Issue
Block a user