From d8c06f6be62c7293868f59f6b9e6c78d681e0853 Mon Sep 17 00:00:00 2001 From: "HESU\\HESU" <1696136552@qq.com> Date: Mon, 30 Jun 2025 16:02:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E4=B8=8D=E5=81=9A?= =?UTF-8?q?=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/console/service/BrandService.php | 36 ++++++++++++++-------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/app/console/service/BrandService.php b/app/console/service/BrandService.php index ddc5585..1ae1b1c 100644 --- a/app/console/service/BrandService.php +++ b/app/console/service/BrandService.php @@ -173,12 +173,12 @@ class BrandService extends BaseService } // 异步翻译并写入 hs_vehicle_data_translation 表 - (new TranslationService())->queueTranslations( - 'brand', - $id, - $sourceLocale, - $sourceFields - ); +// (new TranslationService())->queueTranslations( +// 'brand', +// $id, +// $sourceLocale, +// $sourceFields +// ); //品牌轮播图 $bannersId = []; @@ -204,12 +204,12 @@ class BrandService extends BaseService $bannersId[] = $bannerId; } - (new TranslationService())->queueTranslations( - 'brandBanner', - $bannerId, - $sourceLocale, - $bannersourceFields - ); +// (new TranslationService())->queueTranslations( +// 'brandBanner', +// $bannerId, +// $sourceLocale, +// $bannersourceFields +// ); } BrandBannerModel::whereNotIn('id', $bannersId)->where('brand_id',$id)->delete(); @@ -237,12 +237,12 @@ class BrandService extends BaseService $traitsId[] = $traitId; } - (new TranslationService())->queueTranslations( - 'brandTrait', - $traitId, - $sourceLocale, - $traitsourceFields - ); +// (new TranslationService())->queueTranslations( +// 'brandTrait', +// $traitId, +// $sourceLocale, +// $traitsourceFields +// ); } BrandTraitModel::whereNotIn('id', $traitsId)->where('brand_id',$id)->delete();