Skip to content

Commit

Permalink
查询转账订单
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemao authored Jun 1, 2020
1 parent 6713b46 commit 4717460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transfers_query.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AlipayService
public function __construct($appid, $saPrivateKey)
{
$this->appId = $appid;
$this->charset = 'utf8';
$this->charset = 'utf-8';
$this->rsaPrivateKey=$saPrivateKey;
}

Expand Down Expand Up @@ -52,7 +52,7 @@ public function doQuery($outBizBo='',$orderId='')
'biz_content'=>json_encode($requestConfigs),
);
$commonConfigs["sign"] = $this->generateSign($commonConfigs, $commonConfigs['sign_type']);
$result = $this->curlPost('https://openapi.alipay.com/gateway.do',$commonConfigs);
$result = $this->curlPost('https://openapi.alipay.com/gateway.do?charset='.$this->charset,$commonConfigs);
return json_decode($result,true);
}

Expand Down

0 comments on commit 4717460

Please sign in to comment.