Skip to content

Commit

Permalink
当面付(条码支付)
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemao authored Apr 3, 2023
1 parent 85055b4 commit cf9ca4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function doPay()
);
$commonConfigs["sign"] = $this->generateSign($commonConfigs, $commonConfigs['sign_type']);
$result = $this->curlPost('https://openapi.alipay.com/gateway.do?charset='.$this->charset,$commonConfigs);
$result = iconv('GBK','UTF-8',$result);
//$result = iconv('GBK','UTF-8',$result);
return json_decode($result,true);
}
public function generateSign($params, $signType = "RSA") {
Expand Down

0 comments on commit cf9ca4a

Please sign in to comment.