add clear

This commit is contained in:
as2252258@163.com
2019-07-12 18:51:12 +08:00
parent 3642cd343d
commit c4b43deb9f
5 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ class Recharge extends Base
$this->money = $money;
$this->orderNo = $orderNo;
$this->data['openid'] = $openId;
return Http::post($this->createPayUrl(), $this->builder(),
return WxClient::post($this->createPayUrl(), $this->builder(),
function ($result, $body) use ($_this) {
$data = $_this->toArray($result);
if (isset($data['sign'])) {
@@ -120,7 +120,7 @@ class Recharge extends Base
$array['sign'] = $this->sign($array);
return Http::post($transfers, static::toXml($array), function ($data) {
return WxClient::post($transfers, static::toXml($array), function ($data) {
$array = $this->toArray($data);
if ($array['result_code'] != 'SUCCESS') {
$data = ['code' => $array['err_code'], 'message' => $array['err_code_des']];