From 9f7fe7d80ab66dce85ed09b4ebef3eeed14b871a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 10 Oct 2023 16:12:58 +0800 Subject: [PATCH] 1 --- business/partner/purchase/tiktok_store/store_sku2_utils.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/business/partner/purchase/tiktok_store/store_sku2_utils.go b/business/partner/purchase/tiktok_store/store_sku2_utils.go index c8c6557cc..408e9d4a4 100644 --- a/business/partner/purchase/tiktok_store/store_sku2_utils.go +++ b/business/partner/purchase/tiktok_store/store_sku2_utils.go @@ -916,8 +916,8 @@ func GetTiktokImgList(api *tiktokShop.API, storeId string, skuId int, detailImg, } if whiteImg != "" { imgs = append(imgs, tiktokShop.Imgs{ - Name: "white_" + storeId + "_" + detailImg[21:54], - Url: detailImg, + Name: "white_" + storeId + "_" + whiteImg[21:54], + Url: whiteImg, }) } tiktokImgList, err := api.BatchUploadImages(imgs) @@ -930,7 +930,6 @@ func GetTiktokImgList(api *tiktokShop.API, storeId string, skuId int, detailImg, SkuID: skuId, VendorID: model.VendorIDDD, } - globals.SugarLogger.Debugf("===========imgs := %s", utils.Format4Output(imgs, false)) for k, v := range tiktokImgList { if strings.Contains(k, "detail_") { detailTiktok = v.ByteUrl