add clear

This commit is contained in:
2020-09-10 17:25:46 +08:00
parent 0d202fce14
commit c0ab8adfcb
9 changed files with 60 additions and 10 deletions
+6 -2
View File
@@ -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());
}
/**