From b3ccc9581d81df6c17bb0d53a077a009cf610a33 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Tue, 23 Oct 2018 01:49:21 +0800 Subject: [PATCH] debug --- service/Application/Library/AlipayLife.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/Application/Library/AlipayLife.class.php b/service/Application/Library/AlipayLife.class.php index 119c159a6..932d81691 100644 --- a/service/Application/Library/AlipayLife.class.php +++ b/service/Application/Library/AlipayLife.class.php @@ -36,7 +36,7 @@ class AlipayLife $this->params = $params; $this->xml_data = isset($params['biz_content']) ? $this->xmlToArray($params['biz_content']) : ''; - $this->xml_data = $this->xml_to_array($params['biz_content']); + $this->xml_data = json_decode(json_encode((array) simplexml_load_string($params['biz_content'])), true); 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']]) : '';