refactor: 去除文章/视频/附件下载新增/编辑接口启用状态字段输入

This commit is contained in:
2025-03-31 16:53:27 +08:00
parent 33db39d5b0
commit 3df439ef1b
6 changed files with 0 additions and 13 deletions

View File

@@ -26,7 +26,6 @@ class AttachmentValidate extends Validate
'attach.*.ext' => 'string',
'attach.*.btn_name' => 'string',
'sort' => 'integer',
'status' => 'in:1,-1',
'recommend' => 'in:0,1',
'seo_title' => 'max:255',
'seo_keywords' => 'max:255',
@@ -56,7 +55,6 @@ class AttachmentValidate extends Validate
'attach.*.file_ext.string' => '附件扩展名必须是字符串',
'attach.*.btn_name.string' => '附件按钮名必须是字符串',
'sort.integer' => '排序必须是整数',
'status.in' => '状态必须是1或-1',
'recommend.in' => '推荐状态必须是0或1',
'seo_title.max' => 'SEO标题不能超过255个字符',
'seo_keywords.max' => 'SEO关键字不能超过255个字符',