From 18536c575f351568d2f55a510934f4177b7570fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 30 Jan 2021 18:05:48 +0800 Subject: [PATCH] add clear --- wchat/wx/Recharge.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/wchat/wx/Recharge.php b/wchat/wx/Recharge.php index 3416dcb..d7a1221 100644 --- a/wchat/wx/Recharge.php +++ b/wchat/wx/Recharge.php @@ -100,16 +100,10 @@ class Recharge extends SmallProgram { $data = [ 'appid' => $this->config->getAppid(), - 'mchid' => $this->config->getMchId(), + 'mch_id' => $this->config->getMchId(), 'nonce_str' => Help::random(32), 'body' => $this->config->getBody(), - 'description' => $this->config->getBody(), - 'payer' => ['openid' => $this->data['openid']], 'out_trade_no' => $this->orderNo, - "amount" => [ - "total" => $this->money, - "currency" => "CNY" - ], 'total_fee' => $this->money, 'spbill_create_ip' => $_SERVER['REMOTE_ADDR'], 'notify_url' => $this->config->getNotifyUrl(),