From 4fde001d4e309aa2e557e21d7eeb614aed6e4903 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 29 Jun 2020 14:33:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B8=B8=E6=88=8F=E5=88=86?= =?UTF-8?q?=E6=88=90=E6=AF=94=E4=BE=8B=E4=B8=8D=E5=8F=97=E6=A1=A3=E4=BD=8D?= =?UTF-8?q?=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/GameController.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) {