diff --git a/Application/Admin/Controller/GameController.class.php b/Application/Admin/Controller/GameController.class.php index c6e3f073f..48db52ec3 100644 --- a/Application/Admin/Controller/GameController.class.php +++ b/Application/Admin/Controller/GameController.class.php @@ -1059,9 +1059,9 @@ class GameController extends ThinkController ->where($where) ->order("ratio asc") ->find(); - if($info){ - die(json_encode(array("result"=>"0","desc"=>"CP分成比例应小于".$info['ratio']."%"))); - } + // if($info){ + // die(json_encode(array("result"=>"0","desc"=>"CP分成比例应小于".$info['ratio']."%"))); + // } foreach ($relation_game_list as $game){ $map['game_id'] = $game['id']; @@ -1103,9 +1103,9 @@ class GameController extends ThinkController die(json_encode(array("result"=>"0","desc"=>"分成档位已存在"))); } - if($initial_info['game_ratio']>=$data['game_ratio']){ - die(json_encode(array("result"=>"0","desc"=>"分成比例不得小于初始比例"))); - } + // if($initial_info['game_ratio']>=$data['game_ratio']){ + // die(json_encode(array("result"=>"0","desc"=>"分成比例不得小于初始比例"))); + // } $info = M('cp_game_ratio', 'tab_')->where("id=%d",$data['data_id'])->find(); foreach ($relation_game_list as $game) {