Skip to content

Commit

Permalink
原生支付(扫码支付)
Browse files Browse the repository at this point in the history
更新二维码接口
  • Loading branch information
dedemao authored Mar 28, 2021
1 parent ef09630 commit fcea0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
$payTime = time(); //付款时间
$arr = $wxPay->createJsBizPackage($payAmount,$outTradeNo,$orderName,$notifyUrl,$payTime);
//生成二维码
$url = 'https://my.tv.sohu.com/user/a/wvideo/getQRCode.do?width=300&height=300&text='.$arr['code_url'];
$url = 'https://wenhairu.com/static/api/qr/?size=300&text='.$arr['code_url'];
echo "<img src='{$url}' style='width:300px;'><br>";
echo '二维码内容:'.$arr['code_url'];
class WxpayService
Expand Down

0 comments on commit fcea0ec

Please sign in to comment.