From 52d3e6947598afb3032525195bee4ee767ff936c Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Mon, 14 Jul 2025 13:42:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?perf:=20=E6=95=B0=E6=8D=AE=E5=90=8C?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/command/DataMigration.php | 42 +++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/app/command/DataMigration.php b/app/command/DataMigration.php index b77cd52c..e506ef9a 100644 --- a/app/command/DataMigration.php +++ b/app/command/DataMigration.php @@ -60,27 +60,27 @@ class DataMigration extends Command // $this->migrateProductPurchaseLinks(); // 迁移文章 - $this->migrateArticle([ - 16 => 7, - 31 => 9, - 32 => 8, - // 68 => 10, - // 69 => 11, - // 70 => 12, - // 71 => 13, - // 72 => 14, - // 73 => 15, - // 74 => 16, - // 75 => 17, - // 78 => 19, - // 79 => 20, - // 80 => 21, - // 81 => 22, - // 82 => 23, - // 83 => 24, - // 84 => 25, - // 85 => 26 - ]); + // $this->migrateArticle([ + // 16 => 7, + // 31 => 9, + // 32 => 8, + // 68 => 10, + // 69 => 11, + // 70 => 12, + // 71 => 13, + // 72 => 14, + // 73 => 15, + // 74 => 16, + // 75 => 17, + // 78 => 19, + // 79 => 20, + // 80 => 21, + // 81 => 22, + // 82 => 23, + // 83 => 24, + // 84 => 25, + // 85 => 26 + // ]); // 迁移faq // $this->migrateFaq(); From ef97b9748a01da9df7db7f5a5b425c02afc00a44 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Mon, 14 Jul 2025 13:43:52 +0800 Subject: [PATCH 2/2] =?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' => '链接格式错误',