diff --git a/Application/Admin/Controller/GameController.class.php b/Application/Admin/Controller/GameController.class.php index 8401d8d1d..6cf6890e9 100644 --- a/Application/Admin/Controller/GameController.class.php +++ b/Application/Admin/Controller/GameController.class.php @@ -294,6 +294,10 @@ class GameController extends ThinkController $this->error('游戏评分只能为0-5之间的数字!'); exit; } + if (mb_strlen($_POST['features']) > 30) { + $this->error('一句话简介不能超过30个字!'); + exit; + } /*if($_POST['apply_status']==0&&$_POST['game_status']==1){ $this->error('游戏未审核不允许显示');//游戏添加完成 }*/