Merge branch 'dev'

This commit is contained in:
2025-07-14 13:44:06 +08:00
2 changed files with 23 additions and 23 deletions

View File

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

View File

@@ -60,10 +60,10 @@ class DataMigration extends Command
// $this->migrateProductPurchaseLinks(); // $this->migrateProductPurchaseLinks();
// 迁移文章 // 迁移文章
$this->migrateArticle([ // $this->migrateArticle([
16 => 7, // 16 => 7,
31 => 9, // 31 => 9,
32 => 8, // 32 => 8,
// 68 => 10, // 68 => 10,
// 69 => 11, // 69 => 11,
// 70 => 12, // 70 => 12,
@@ -80,7 +80,7 @@ class DataMigration extends Command
// 83 => 24, // 83 => 24,
// 84 => 25, // 84 => 25,
// 85 => 26 // 85 => 26
]); // ]);
// 迁移faq // 迁移faq
// $this->migrateFaq(); // $this->migrateFaq();