修复学科更新错误mater

This commit is contained in:
小松树 committed 2019-06-11 09:09:49 +08:00
1 parent 5e81497c9a
commit a1c653296c
1 file changed
+1 -1
+1 -1
View File
@@ -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);