From 56f2c422aac7923745a26e5b7a5452af6ee55f3e Mon Sep 17 00:00:00 2001 From: liuweiwen <“529520975@qq.com> Date: Mon, 2 Dec 2019 20:33:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E2=80=94=20=E3=80=90?= =?UTF-8?q?=E6=B8=B8=E6=88=8F=E3=80=91=E3=80=90=E6=B8=B8=E6=88=8F=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E3=80=91=E3=80=90=E6=B8=B8=E6=88=8F=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E3=80=91=E2=80=94=20=E7=82=B9=E5=87=BB=E3=80=90=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E3=80=91=EF=BC=8C=EF=BC=88=E4=B8=80=E5=8F=A5=E8=AF=9D?= =?UTF-8?q?=E7=AE=80=E4=BB=8B=EF=BC=89=E9=99=90=E5=88=B6=E5=AD=97=E6=95=B0?= =?UTF-8?q?=EF=BC=88=E6=9C=80=E5=A4=9A30=E5=AD=97=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/GameController.class.php | 4 ++++ 1 file changed, 4 insertions(+) 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('游戏未审核不允许显示');//游戏添加完成 }*/