From a1c653296c8f9800a8201b272aad3d0e6bf65cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=BE=E6=A0=91?= Date: Tue, 11 Jun 2019 09:09:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AD=A6=E7=A7=91=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=94=99=E8=AF=AFmater?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/teach/controller/Subject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/teach/controller/Subject.php b/application/teach/controller/Subject.php index 14911569..ba408d8c 100644 --- a/application/teach/controller/Subject.php +++ b/application/teach/controller/Subject.php @@ -154,7 +154,7 @@ class Subject extends Base $validate = new \app\teach\validate\Subject; // 获取表单数据 - $list = request()->only(['title','jiancheng','category','kaoshi','paixu'],'put'); + $list = request()->only(['title','jiancheng','category','kaoshi','lieming','paixu'],'put'); // 验证表单数据 $result = $validate->check($list);