diff --git a/app/admin/validate/v1/VideoValidate.php b/app/admin/validate/v1/VideoValidate.php index 1c7fa691..f374ce34 100644 --- a/app/admin/validate/v1/VideoValidate.php +++ b/app/admin/validate/v1/VideoValidate.php @@ -18,7 +18,7 @@ class VideoValidate extends Validate 'language_id' => 'require|integer', 'category_id' => 'require|integer', 'name' => 'require|max:64', - 'desc' => 'max:255', + 'desc' => 'max:512', 'image' => 'max:125', 'video' => 'max:125', 'link' => 'url|max:125', @@ -44,7 +44,7 @@ class VideoValidate extends Validate 'category_id.integer' => '分类参数类型错误', 'name.require' => '名称不能为空', 'name.max' => '名称不能超过64个字符', - 'desc.max' => '描述不能超过255个字符', + 'desc.max' => '描述不能超过512个字符', 'image.max' => '图片不能超过125个字符', 'video.max' => '视频不能超过125个字符', 'link.url' => '链接格式错误',