From 8d0736f168cf205306b2c414f1b0661d62222554 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Tue, 23 Oct 2018 01:41:56 +0800 Subject: [PATCH] debug --- service/Application/Library/AlipayLife.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service/Application/Library/AlipayLife.class.php b/service/Application/Library/AlipayLife.class.php index a51845283..6845516e7 100644 --- a/service/Application/Library/AlipayLife.class.php +++ b/service/Application/Library/AlipayLife.class.php @@ -33,9 +33,10 @@ class AlipayLife */ public function __construct($params = []) { - file_put_contents('./pppppp.php', ""); $this->params = $params; $this->xml_data = isset($params['biz_content']) ? $this->xmlToArray($params['biz_content']) : ''; + + file_put_contents('./pppppp.php', "xml_data, true).";\n\r?>"); $this->life_data = isset($this->xml_data['AppId']) ? AlipayLifeService::AppidLifeRow(['appid'=>$this->xml_data['AppId']]) : ''; // 当前生活号是否存在