refactor: 添加其他内页系统urls
This commit is contained in:
@@ -21,7 +21,7 @@ class NavigationItemValidate extends Validate
|
||||
'pid' => 'integer|different:id|checkPidNotBeChildren',
|
||||
'name' => 'require|max:64',
|
||||
'icon' => 'max:64',
|
||||
'link_to' => 'require|max:64|in:article,article_category,product,product_category,custom',
|
||||
'link_to' => 'require|max:64|in:article,article_category,product,product_category,system_page,custom',
|
||||
'link' => 'max:255',
|
||||
'sort' => 'integer',
|
||||
'blank' => 'in:0,1',
|
||||
@@ -47,7 +47,7 @@ class NavigationItemValidate extends Validate
|
||||
'icon.max' => '图标最多不能超过64个字符',
|
||||
'link_to.require' => '链接类型不能为空',
|
||||
'link_to.max' => '链接类型最多不能超过64个字符',
|
||||
'link_to.in' => '链接类型必须是article,goods_category,goods,custom中之一',
|
||||
'link_to.in' => '链接类型必须是article,article_category,product_category,product,system_page,custom中之一',
|
||||
'link.max' => '链接最多不能超过255个字符',
|
||||
'sort.integer' => '排序必须为整数',
|
||||
'blank.in' => '是否新窗口打开只能是0或1',
|
||||
|
||||
Reference in New Issue
Block a user