add clear
This commit is contained in:
@@ -100,10 +100,16 @@ class Recharge extends SmallProgram
|
||||
{
|
||||
$data = [
|
||||
'appid' => $this->config->getAppid(),
|
||||
'mch_id' => $this->config->getMchId(),
|
||||
'mchid' => $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(),
|
||||
|
||||
Reference in New Issue
Block a user