作者 lyh

变更数据

... ... @@ -30,7 +30,6 @@ class BlogRequest extends FormRequest
// 'seo_title'=>'max:70',
'seo_keywords'=>'max:300',
'seo_description'=>'max:200',
// 'text'=>'max:5000',
];
}
... ... @@ -44,7 +43,6 @@ class BlogRequest extends FormRequest
'seo_keywords.max' => 'SEO关键词不能超过300个字符',
'seo_description.max' => 'SEO描述不能超过200个字符',
'remark.max'=>'描述超过最长长度1000',
// 'text.max'=>'详情内容超过最大长度',
];
}
}
... ...
... ... @@ -25,7 +25,6 @@ class NewsRequest extends FormRequest
{
return [
'name'=>'required|max:200',
// 'remark'=>'max:2000',
'url'=>'required',
// 'seo_title' => 'max:70',
'seo_keywords' => 'max:300',
... ... @@ -39,7 +38,6 @@ class NewsRequest extends FormRequest
'name.required'=>'请填写名称',
'name.max'=>'名称超过最长长度200',
'url.required'=>'链接不能为空',
// 'remark.max'=>'描述超过最长长度2000'
// 'seo_title.max' => 'SEO标题不能超过70个字符',
'seo_keywords.max' => 'SEO关键词不能超过300个字符',
'seo_description.max' => 'SEO描述不能超过200个字符',
... ...
... ... @@ -32,9 +32,8 @@ class CategoryRequest extends FormRequest
return [
'title'=>'required|max:200',
'route'=>'required',
// 'image'=>'required',
// 'keywords'=>'max:50',
// 'describe'=>'max:200',
'seo_keywords'=>'max:300',
'seo_description'=>'max:200',
];
}
... ... @@ -44,9 +43,8 @@ class CategoryRequest extends FormRequest
'title.required' => '请输入分类名称',
'title.max' => '分类名称不能超过200个字符',
'route.required' => '路由不能为空',
// 'image.required' => '请上传分类图片',
// 'keywords.max' => '分类关键词不能超过50个字符',
// 'describe.max' => '分类描述不能超过200个字符',
'seo_keywords.max' => 'SEO关键词不能超过300个字符',
'seo_description.max' => 'SEO描述不能超过200个字符',
];
}
... ...
... ... @@ -32,7 +32,7 @@ class KeywordRequest extends FormRequest
return [
'title'=>'required|max:200',
// 'seo_title'=>'max:70',
'seo_keywords'=>'max:200',
'seo_keywords'=>'max:300',
'seo_description'=>'max:200',
'related_news_ids'=>'array|max:2',
'related_blog_ids'=>'array|max:2',
... ... @@ -45,7 +45,7 @@ class KeywordRequest extends FormRequest
'title.required' => '请输入关键词',
'title.max' => '关键词不能超过200个字符',
// 'seo_title.max' => 'SEO标题不能超过70个字符',
'seo_keywords.max' => 'SEO关键词不能超过200个字符',
'seo_keywords.max' => 'SEO关键词不能超过300个字符',
'seo_description.max' => 'SEO描述不能超过200个字符',
'related_news_ids.max' => '关联新闻不能超过两条',
'related_blog_ids.max' => '关联博客不能超过两条',
... ...