正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -30,7 +30,7 @@ class CategoryRequest extends FormRequest | @@ -30,7 +30,7 @@ class CategoryRequest extends FormRequest | ||
| 30 | public function rules() | 30 | public function rules() |
| 31 | { | 31 | { |
| 32 | return [ | 32 | return [ |
| 33 | - 'title'=>'required|max:50', | 33 | + 'title'=>'required|max:200', |
| 34 | 'route'=>'required', | 34 | 'route'=>'required', |
| 35 | // 'image'=>'required', | 35 | // 'image'=>'required', |
| 36 | // 'keywords'=>'max:50', | 36 | // 'keywords'=>'max:50', |
| @@ -42,7 +42,7 @@ class CategoryRequest extends FormRequest | @@ -42,7 +42,7 @@ class CategoryRequest extends FormRequest | ||
| 42 | { | 42 | { |
| 43 | return [ | 43 | return [ |
| 44 | 'title.required' => '请输入分类名称', | 44 | 'title.required' => '请输入分类名称', |
| 45 | - 'title.max' => '分类名称不能超过50个字符', | 45 | + 'title.max' => '分类名称不能超过200个字符', |
| 46 | 'route.required' => '路由不能为空', | 46 | 'route.required' => '路由不能为空', |
| 47 | // 'image.required' => '请上传分类图片', | 47 | // 'image.required' => '请上传分类图片', |
| 48 | // 'keywords.max' => '分类关键词不能超过50个字符', | 48 | // 'keywords.max' => '分类关键词不能超过50个字符', |
-
请 注册 或 登录 后发表评论