|
@@ -7013,6 +7013,9 @@ class AnimeService
|
|
|
if (empty($product_name)) {
|
|
if (empty($product_name)) {
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ // 处理product_name两边的符号
|
|
|
|
|
+ $product_name = preg_replace('/^[【】\s]+|[【】\s]+$/u', '', $product_name);
|
|
|
|
|
|
|
|
// 直接插入新资产到 mp_products 表(parent_id 指向对应类型的根文件夹)
|
|
// 直接插入新资产到 mp_products 表(parent_id 指向对应类型的根文件夹)
|
|
|
$product_id = DB::table('mp_products')->insertGetId([
|
|
$product_id = DB::table('mp_products')->insertGetId([
|