add clear
This commit is contained in:
+8
-3
@@ -103,13 +103,18 @@ class Recharge extends Miniprogarampage
|
|||||||
'trade_type' => $this->config->getTradeType(),
|
'trade_type' => $this->config->getTradeType(),
|
||||||
];
|
];
|
||||||
|
|
||||||
$data = array_merge($data, $this->data);
|
$this->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'] = Help::sign($data, $key, $sign_type);
|
$data['sign'] = Help::sign($this->data, $key, $sign_type);
|
||||||
return Help::toXml($data);
|
return Help::toXml($this->data);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getSignData()
|
||||||
|
{
|
||||||
|
return $this->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user