fix: 修复后台产品分类关联tco分类验证问题
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 5s
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 5s
This commit is contained in:
@@ -23,7 +23,7 @@ class ProductCategoryValidate extends Validate
|
||||
'name' => 'require|max:64',
|
||||
'icon' => 'max:125',
|
||||
'desc' => 'max:255',
|
||||
'related_tco_category' => 'integer',
|
||||
'related_tco_category' => 'string',
|
||||
'sort' => 'integer',
|
||||
'level' => 'integer',
|
||||
'is_show' => 'in:0,1',
|
||||
@@ -51,7 +51,7 @@ class ProductCategoryValidate extends Validate
|
||||
'name.max' => '名称最多不能超过64个字符',
|
||||
'icon.max' => '图标最多不能超过125个字符',
|
||||
'desc.max' => '描述最多不能超过255个字符',
|
||||
'related_tco_category.integer' => '关联TCO分类格式错误',
|
||||
'related_tco_category.string' => '关联TCO分类格式错误',
|
||||
'sort.integer' => '排序格式错误',
|
||||
'level.integer' => '级别格式错误',
|
||||
'is_show.in' => '是否显示格式错误',
|
||||
|
||||
Reference in New Issue
Block a user