|
|
|
@ -792,13 +792,13 @@ class ShortcutController extends BaseController{
|
|
|
|
|
|
|
|
|
|
C(api('Config/lists'));
|
|
|
|
|
|
|
|
|
|
if (!$is_platform) {
|
|
|
|
|
$request['extend'] = I('request.extend');
|
|
|
|
|
$extend_data = M('spend','tab_')->where(array('extend'=>$request['extend'],'game_id'=>$request['game_id']))->find();
|
|
|
|
|
if($extend_data){
|
|
|
|
|
redirect(U('Spend/notice',array('user_id'=>$user_id,'game_id'=>$game_id,'is_platform'=> $is_platform,'msg'=>$request['game_id'].'订单号重复,请关闭支付页面重新支付'.$request['extend'], 'user_token' => $userToken)));exit;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// if (!$is_platform) {
|
|
|
|
|
// $request['extend'] = I('request.extend');
|
|
|
|
|
// $extend_data = M('spend','tab_')->where(array('extend'=>$request['extend'],'game_id'=>$request['game_id']))->find();
|
|
|
|
|
// if($extend_data){
|
|
|
|
|
// redirect(U('Spend/notice',array('user_id'=>$user_id,'game_id'=>$game_id,'is_platform'=> $is_platform,'msg'=>$request['game_id'].'订单号重复,请关闭支付页面重新支付'.$request['extend'], 'user_token' => $userToken)));exit;
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
//折扣
|
|
|
|
|
$user = get_user_entity($request['user_id']);
|
|
|
|
|