add clear
This commit is contained in:
@@ -110,15 +110,14 @@ class Recharge extends SmallProgram
|
|||||||
'spbill_create_ip' => $_SERVER['REMOTE_ADDR'],
|
'spbill_create_ip' => $_SERVER['REMOTE_ADDR'],
|
||||||
'notify_url' => $this->config->getNotifyUrl(),
|
'notify_url' => $this->config->getNotifyUrl(),
|
||||||
'trade_type' => $this->config->getTradeType(),
|
'trade_type' => $this->config->getTradeType(),
|
||||||
|
'openid' => $this->data['openid']
|
||||||
];
|
];
|
||||||
|
|
||||||
$data = array_merge($data, $this->data);
|
|
||||||
|
|
||||||
$key = $this->config->getKey();
|
$key = $this->config->getKey();
|
||||||
$sign_type = $this->config->getSignType();
|
$sign_type = $this->config->getSignType();
|
||||||
|
|
||||||
|
$data['sign_type'] = $sign_type;
|
||||||
$data['sign'] = Help::sign($data, $key, $sign_type);
|
$data['sign'] = Help::sign($data, $key, $sign_type);
|
||||||
$data['sign_type'] = $this->config->getSignType();
|
|
||||||
|
|
||||||
return Help::toXml($data);
|
return Help::toXml($data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user