|
|
|
@ -1406,7 +1406,7 @@ class PayH5Controller extends BaseController{
|
|
|
|
|
//redirect(U('Spend/notice',array('user_id'=>$user_id,'game_id'=>$game_id,'msg'=> $payCheck['msg'], 'user_token' => $this->userToken)));exit;
|
|
|
|
|
}
|
|
|
|
|
C(api('Config/lists'));
|
|
|
|
|
$game = M('Game','tab_')->where(['id'=>$request['game_id']])->field('pay_status')->find();
|
|
|
|
|
$game = M('Game','tab_')->where(['id'=>$request['game_id']])->field('id, pay_status, game_type_id')->find();
|
|
|
|
|
if($game['pay_status'] == 0){
|
|
|
|
|
echo json_encode(['code'=>0,'msg'=> '该游戏暂时无法充值,请联系客服!']);exit;
|
|
|
|
|
//redirect(U('Spend/notice',array('user_id'=>$user_id,'game_id'=>$game_id,'msg'=>'该游戏暂时无法充值,请联系客服!', 'user_token' => $this->userToken)));exit;
|
|
|
|
|