From 51ceeff0d70f82f59e0f9bf7210f69a15b1b25a2 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Mon, 14 Jul 2025 13:43:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=86=E9=A2=91=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E9=95=BF=E5=BA=A6=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/validate/v1/VideoValidate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' => '链接格式错误',