diff --git a/business/partner/purchase/tiktok_store/store_sku2_utils.go b/business/partner/purchase/tiktok_store/store_sku2_utils.go index ac1d1a86d..d8d509a0f 100644 --- a/business/partner/purchase/tiktok_store/store_sku2_utils.go +++ b/business/partner/purchase/tiktok_store/store_sku2_utils.go @@ -356,12 +356,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI PickupMethod: "0", } param.Name = checkNameLenght(param.Name) - afterSaleService := api.GetProductUpdateRule(param.CategoryLeafId) - globals.SugarLogger.Debugf("----------afterSaleService-%s", utils.Format4Output(afterSaleService, false)) - if afterSaleService { - param.AfterSaleService = map[string]string{"supply_day_return_selector": "7天"} - } - globals.SugarLogger.Debugf("----------param1-%s", utils.Format4Output(param, false)) + // 暂时只考虑修改白底图,提高效率.其余图片不做修改 img, descImg, whiteImg, err := GetTiktokImgList(api, utils.Int2Str(storeSku.StoreID), storeSku.SkuID, storeSku.DescImg, storeSku.Img, []string{storeSku.Img2, storeSku.Img3, storeSku.Img4, storeSku.Img5}) if err != nil { @@ -390,6 +385,10 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI param.CategoryLeafId = vendorCategoryId } + if api.GetProductUpdateRule(param.CategoryLeafId) { + param.AfterSaleService = map[string]string{"supply_day_return_selector": "7天"} + } + // 获取主商品id var mainIdInt int64 if storeSku.VendorMainId == "" {