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']]);