add clear
This commit is contained in:
@@ -12,6 +12,10 @@ use wchat\common\HttpClient;
|
||||
use wchat\common\Result;
|
||||
use wchat\common\Help;
|
||||
|
||||
/**
|
||||
* Class Recharge
|
||||
* @package wchat\wx
|
||||
*/
|
||||
class Recharge extends SmallProgram
|
||||
{
|
||||
private $money = 0;
|
||||
@@ -21,7 +25,7 @@ class Recharge extends SmallProgram
|
||||
private $data = [];
|
||||
|
||||
private $transfers = 'https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers';
|
||||
private $unifiedorder = 'https://api.mch.weixin.qq.com/pay/unifiedorder';
|
||||
private $uniformed = 'https://api.mch.weixin.qq.com/pay/unifiedorder';
|
||||
|
||||
/**
|
||||
* @param int $money
|
||||
@@ -62,7 +66,7 @@ class Recharge extends SmallProgram
|
||||
}
|
||||
return new Result($return);
|
||||
});
|
||||
return $this->send($this->unifiedorder, $this->builder());
|
||||
return $this->send($this->uniformed, $this->builder());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user