refactor: 去除文章/视频/附件下载新增/编辑接口启用状态字段输入
This commit is contained in:
@@ -24,7 +24,6 @@ class VideoValidate extends Validate
|
||||
'link' => 'url|max:125',
|
||||
'sort' => 'integer',
|
||||
'recommend' => 'integer|in:1,0',
|
||||
'status' => 'integer|in:1,-1',
|
||||
'seo_title' => 'max:255',
|
||||
'seo_keywords' => 'max:255',
|
||||
'seo_desc' => 'max:255',
|
||||
@@ -53,8 +52,6 @@ class VideoValidate extends Validate
|
||||
'sort.integer' => '排序参数类型错误',
|
||||
'recommend.integer' => '推荐参数类型错误',
|
||||
'recommend.in' => '推荐参数错误,必须是1或0',
|
||||
'status.integer' => '状态参数类型错误',
|
||||
'status.in' => '状态参数错误,必须是1或-1',
|
||||
'seo_title.max' => 'SEO标题不能超过255个字符',
|
||||
'seo_keywords.max' => 'SEO关键字不能超过255个字符',
|
||||
'seo_desc.max' => 'SEO描述不能超过255个字符',
|
||||
|
||||
Reference in New Issue
Block a user