|
|
@ -770,7 +770,7 @@ class PayH5Controller extends BaseController{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$request['user_id'] = $this->userId;
|
|
|
|
$request['user_id'] = $this->userId;
|
|
|
|
|
|
|
|
|
|
|
|
echo json_encode(['code'=>0,'msg'=> '目前人数已满']);exit;
|
|
|
|
// echo json_encode(['code'=>0,'msg'=> '目前人数已满']);exit;
|
|
|
|
|
|
|
|
|
|
|
|
// 支付验证 是否让支付
|
|
|
|
// 支付验证 是否让支付
|
|
|
|
$payCheck = pay_check($this->userId);
|
|
|
|
$payCheck = pay_check($this->userId);
|
|
|
@ -1523,7 +1523,7 @@ class PayH5Controller extends BaseController{
|
|
|
|
//redirect(U('Spend/notice',array('user_id'=>$user_id,'game_id'=>$game_id,'msg'=>'登录数据不能为空', 'user_token' => $this->userToken)));exit;
|
|
|
|
//redirect(U('Spend/notice',array('user_id'=>$user_id,'game_id'=>$game_id,'msg'=>'登录数据不能为空', 'user_token' => $this->userToken)));exit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
echo json_encode(['code'=>0,'msg'=> '目前人数已满']);exit;
|
|
|
|
// echo json_encode(['code'=>0,'msg'=> '目前人数已满']);exit;
|
|
|
|
|
|
|
|
|
|
|
|
// 支付验证 是否让支付
|
|
|
|
// 支付验证 是否让支付
|
|
|
|
$payCheck = pay_check($user_id);
|
|
|
|
$payCheck = pay_check($user_id);
|
|
|
@ -1613,7 +1613,7 @@ class PayH5Controller extends BaseController{
|
|
|
|
// (is_ssl()?'https%3A%2F%2F':'http%3A%2F%2F'). $_SERVER ['HTTP_HOST'] . "%2Fsdk.php%2FSpend%2Fpay_success%2Forderno%2F".$request['pay_order_number'].'%2Fgame_id%2F'.$request['game_id'] ;
|
|
|
|
// (is_ssl()?'https%3A%2F%2F':'http%3A%2F%2F'). $_SERVER ['HTTP_HOST'] . "%2Fsdk.php%2FSpend%2Fpay_success%2Forderno%2F".$request['pay_order_number'].'%2Fgame_id%2F'.$request['game_id'] ;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
echo json_encode(['code'=>0,'msg'=> '支付失败']);
|
|
|
|
echo json_encode(['code'=>0,'msg'=> '支付失败']);
|
|
|
|
Log::write("platform_weixin_pay支付失败".serialize($is_pay));
|
|
|
|
Log::write("platform_weixin_pay支付失败".serialize($is_pay) . '---' . serialize($pay_conf));
|
|
|
|
exit;
|
|
|
|
exit;
|
|
|
|
// redirect(U('Spend/notice',array('user_id'=>$user_id,'game_id'=>$game_id,'msg'=>'支付失败', 'user_token' => $this->userToken)));exit;
|
|
|
|
// redirect(U('Spend/notice',array('user_id'=>$user_id,'game_id'=>$game_id,'msg'=>'支付失败', 'user_token' => $this->userToken)));exit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|