笔记本
Some checks failed
Gitea Actions Official-website / deploy-dev (push) Failing after 3s

This commit is contained in:
2025-12-10 15:34:03 +08:00
parent db1ad0f88a
commit be33b21b43
79 changed files with 3401 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ class SysBannerItemValidate extends Validate
'banner_id' => 'require|integer|gt:0',
'title' => 'require|max:256',
'title_txt_color' => 'max:7',
'desc' => 'max:1024',
'desc' => 'max:2048',
'desc_txt_color' => 'max:7',
'type' => 'in:image,video',
'image' => 'max:255',
@@ -45,7 +45,7 @@ class SysBannerItemValidate extends Validate
'title.require' => '名称不能为空',
'title.max' => '名称最多不能超过256个字符',
'title_txt_color.max' => '名称字体颜色最多不能超过7个字符',
'desc.max' => '描述最多不能超过1024个字符',
'desc.max' => '描述最多不能超过2048个字符',
'desc_txt_color.max' => '描述字体颜色最多不能超过7个字符',
'type.in' => '显示类型必须是image或video',
'image.max' => '图片地址最多不能超过255个字符',