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