From 36b1979b1de3be4ab7ef6834caec09e59cf1ef56 Mon Sep 17 00:00:00 2001 From: tpingzhang Date: Mon, 5 Oct 2020 16:08:36 +0800 Subject: [PATCH] =?UTF-8?q?titile=20=E2=80=98=E2=80=99=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/PayH5Controller.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/PayH5Controller.class.php b/Application/Sdk/Controller/PayH5Controller.class.php index afc43161..5e4d624f 100644 --- a/Application/Sdk/Controller/PayH5Controller.class.php +++ b/Application/Sdk/Controller/PayH5Controller.class.php @@ -1467,7 +1467,7 @@ class PayH5Controller extends BaseController{ // if (get_wx_pay_type() == 0) { if ($pay_info['channel'] == 2) { $weixn = new Weixin(); - $is_pay = json_decode($weixn->weixin_pay(empty($request['title']) ? $request['title']: "充值", $request['pay_order_number'], $pay_amount, 'MWEB', 1, $pay_conf), true); + $is_pay = json_decode($weixn->weixin_pay(!empty($request['title']) ? $request['title']: "充值", $request['pay_order_number'], $pay_amount, 'MWEB', 1, $pay_conf), true); if($is_pay['status']==1){