tping 3 years ago
parent f3d0e7777d
commit f4e0a25bf1

@ -715,7 +715,7 @@ class PayH5Controller extends BaseController{
$game_id = I('request.game_id');
$user_id = $request['user_id'];
if($request['price']*1<=0 || $request['price'] > C('WX_PAY_LIMIT')) {
echo json_encode(['code'=>0,'msg'=> "微信单笔充值限额".C('WX_PAY_LIMIT')]);exit;
echo json_encode(['code'=>0,'msg'=> "微信单笔充值限额".C('WX_PAY_LIMIT').'元']);exit;
//redirect(U('Spend/notice',array('user_id'=>$user_id, 'is_platform' => 1, 'msg'=>'充值金额有误', 'game_id' => $game_id, 'user_token' => $this->userToken)));exit;
}
@ -1460,7 +1460,7 @@ class PayH5Controller extends BaseController{
//redirect(U('Spend/notice',array('user_id'=>$user_id,'game_id'=>$game_id,'msg'=>'该游戏暂时无法充值,请联系客服!', 'user_token' => $this->userToken)));exit;
}
if($request['price']*1<=0 || $request['price'] > C('WX_PAY_LIMIT')) {
echo json_encode(['code'=>0,'msg'=> "微信单笔充值限额".C('WX_PAY_LIMIT')]);exit;
echo json_encode(['code'=>0,'msg'=> "微信单笔充值限额".C('WX_PAY_LIMIT').'元']);exit;
// $this->set_message(0,"fail","充值金额有误");
// redirect(U('Spend/notice',array('user_id'=>$user_id,'game_id'=>$game_id,'msg'=>'充值金额有误', 'user_token' => $this->userToken)));exit;
}

Loading…
Cancel
Save