From d3ceb25b6367b9482b63e511b45b63e1eb928e89 Mon Sep 17 00:00:00 2001 From: tping Date: Mon, 27 Jul 2020 17:58:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=B8=81=E5=85=85=E5=80=BC?= =?UTF-8?q?=E8=A7=84=E5=88=99?= 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, 2 insertions(+) diff --git a/Application/Sdk/Controller/PayH5Controller.class.php b/Application/Sdk/Controller/PayH5Controller.class.php index 102cf787..a4bdb2b1 100644 --- a/Application/Sdk/Controller/PayH5Controller.class.php +++ b/Application/Sdk/Controller/PayH5Controller.class.php @@ -65,6 +65,7 @@ class PayH5Controller extends BaseController{ echo json_encode(['code'=>1001,'msg'=> "请求发起失效,编号{$request['pay_order_number']},请选择其他支付方式或联系客服"]);exit; } + $game = M('game', 'tab_')->where(['id' => $game_id])->find(); $pay_info = get_payment_config(1, $game, $request['user_id']); if ($pay_info['code'] != 0) { echo json_encode(['code'=>1010,'msg'=> $pay_info['msg']]); @@ -726,6 +727,7 @@ class PayH5Controller extends BaseController{ echo json_encode(['code'=>1001,'msg'=> "请求发起失效,编号{$request['pay_order_number']},请选择其他支付方式或联系客服"]);exit; } + $game = M('game', 'tab_')->where(['id' => $game_id])->find(); $pay_info = get_payment_config(2, $game, $request['user_id']); if ($pay_info['code'] != 0) { echo json_encode(['code'=>1010,'msg'=> $pay_info['msg']]);