add clear
This commit is contained in:
+5
-3
@@ -97,7 +97,6 @@ class Recharge extends Miniprogarampage
|
||||
'body' => $this->config->getBody(),
|
||||
'out_trade_no' => $this->orderNo,
|
||||
'total_fee' => $this->money,
|
||||
'sign_type' => $this->config->getSignType(),
|
||||
'spbill_create_ip' => $_SERVER['REMOTE_ADDR'],
|
||||
'notify_url' => $this->config->getNotifyUrl(),
|
||||
'trade_type' => $this->config->getTradeType(),
|
||||
@@ -109,13 +108,16 @@ class Recharge extends Miniprogarampage
|
||||
$sign_type = $this->config->getSignType();
|
||||
|
||||
$this->data['sign'] = Help::sign($this->data, $key, $sign_type);
|
||||
$this->data['sign_type'] = $this->config->getSignType();
|
||||
|
||||
return Help::toXml($this->data);
|
||||
}
|
||||
|
||||
public function getSignData()
|
||||
{
|
||||
$this->data['key'] = $this->config->getKey();
|
||||
return $this->data;
|
||||
$data = $this->data;
|
||||
$data['key'] = $this->config->getKey();
|
||||
return $data;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user