add clear
This commit is contained in:
@@ -26,21 +26,21 @@ class Recharge extends SmallProgram
|
||||
private $uniformer = 'https://qpay.qq.com/cgi-bin/pay/qpay_unified_order.cgi';
|
||||
|
||||
/**
|
||||
* @param string $value
|
||||
* @param $value
|
||||
*/
|
||||
public function setSpillCreateIp(string $value)
|
||||
public function setSpillCreateIp($value)
|
||||
{
|
||||
$this->spill_create_ip = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $money
|
||||
* @param string $orderNo
|
||||
* @param string $openId
|
||||
* @param $orderNo
|
||||
* @param $openId
|
||||
* @return array|mixed|Result
|
||||
* @throws
|
||||
*/
|
||||
public function recharge(int $money, string $orderNo, $openId = '')
|
||||
public function recharge(int $money, $orderNo, $openId = '')
|
||||
{
|
||||
if ($money < 0) {
|
||||
return new Result(['code' => 500, 'message' => '充值金额不能小于0.']);
|
||||
|
||||
Reference in New Issue
Block a user