@@ -7689,6 +7689,8 @@ class AnimeService
// 处理product_name两边的符号
$product_name = preg_replace('/^[\s*\[\]【】[]{}{}\x{3000}]+|[\s*\[\]【】[]{}{}\x{3000}]+$/u', '', $product_name);
+ // 如果名称不存在则跳过
+ if (!$product_name) continue;
// 直接插入新资产到 mp_products 表(parent_id 指向对应类型的根文件夹)
$product_id = DB::table('mp_products')->insertGetId([