From 7e29cbb5ef46aba6c40ee92b0461b9a2bbbbcfcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 21 May 2020 15:42:34 +0800 Subject: [PATCH] add clear --- wchat/wx/Recharge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wchat/wx/Recharge.php b/wchat/wx/Recharge.php index 451f046..3e46017 100644 --- a/wchat/wx/Recharge.php +++ b/wchat/wx/Recharge.php @@ -153,7 +153,7 @@ class Recharge extends SmallProgram $array['sign'] = Help::sign($array, $key, $sign_type); $this->request->setCallback(function ($data) { - $array = Help::toArray($data); + $array = Help::xmlToArray($data); var_dump($array);exit; if ($array['return_code'] != 'SUCCESS') { $data = ['code' => $array['return_code'], 'message' => $array['return_msg']];