Skip to content

Commit

Permalink
当面付(扫码支付)
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemao authored Jul 5, 2018
1 parent 5b65c0b commit 86c26c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qrcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
$result = $result['alipay_trade_precreate_response'];
if($result['code'] && $result['code']=='10000'){
//生成二维码
$url = 'http://qr.liantu.com/api.php?text='.$result['qr_code'];
$url = 'https://www.kuaizhan.com/common/encode-png?large=true&data='.$result['qr_code'];
echo "<img src='{$url}' style='width:300px;'><br>";
echo '二维码内容:'.$result['qr_code'];
}else{
Expand Down

0 comments on commit 86c26c0

Please sign in to comment.