From f4e358b8c1c5564cca249e1fdb3dbfe116e8b5d4 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Tue, 8 Jan 2019 12:47:52 +0800 Subject: [PATCH] pay debug --- extend/payment/WeixinMini.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/payment/WeixinMini.php b/extend/payment/WeixinMini.php index 4be044913..e086137e5 100644 --- a/extend/payment/WeixinMini.php +++ b/extend/payment/WeixinMini.php @@ -163,7 +163,7 @@ class WeixinMini { // web支付 case 'NATIVE' : - $url = MyUrl('index/qrcode/index', ['content'=>$data['code_url']]); + $url = MyUrl('index/qrcode/index', ['content'=>urlencode($data['code_url'])]); $result = DataReturn('success', 0, $url); break;