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