From a9b65d48ec8e702400ca68877c38c653c6f4e7d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Fri, 14 Apr 2017 12:49:15 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=94=AF=E4=BB=98=E6=B5=8B=E8=AF=95=E9=80=80=E6=AC=BE?= =?UTF-8?q?=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/wechat/controller/Config.php b/application/wechat/controller/Config.php index d73454e70..dde002aa7 100644 --- a/application/wechat/controller/Config.php +++ b/application/wechat/controller/Config.php @@ -42,7 +42,6 @@ class Config extends BasicAdmin { if ($this->request->isGet()) { $this->assign('title', '微信接口配置'); return view(); - } $data = $this->request->post(); foreach ($data as $key => $vo) { @@ -72,7 +71,7 @@ class Config extends BasicAdmin { return json(['code' => 2, 'order_no' => $order_no]); } // 订单号未支付,生成支付二维码URL - $url = PayService::createWechatPayQrc($pay, $order_no, 1, '扫码支付测试!'); + $url = PayService::createWechatPayQrc($pay, $order_no, 1, '微信扫码支付测试!'); if ($url !== false) { return json(['code' => 1, 'url' => $url, 'order_no' => $order_no]); } @@ -99,6 +98,7 @@ class Config extends BasicAdmin { } $this->error("操作退款失败,{$pay->errMsg}[{$pay->errCode}]"); break; + // 显示支付配置界面 default: $this->assign('title', '微信支付配置'); return view();