This commit is contained in:
邹宗楠
2025-07-11 16:42:03 +08:00
parent b23a4d792e
commit fc444c6a86
4 changed files with 35 additions and 2 deletions

View File

@@ -231,7 +231,7 @@ func (p *PurchaseHandler) updateStoreSkus(ctx *jxcontext.Context, storeID int, v
if strings.Contains(storeSku.StoreName, model.ExdStoreName) {
isExd = true
}
params := genSkuParamsFromStoreSkuInfo2(storeSku, false, isExd)
params := genSkuParamsFromStoreSkuInfo2(storeSku, false, true)
if globals.EnableEbaiStoreWrite {
_, err = api.EbaiAPI.SkuUpdate(ctx.GetTrackInfo(), strStoreID, utils.Str2Int64(storeSku.VendorSkuID), params)
if err != nil {
@@ -283,7 +283,7 @@ func (p *PurchaseHandler) CreateStoreSkus(ctx *jxcontext.Context, storeID int, v
isExd = false
customSkuID = int64(storeSku.SkuID)
}
params := genSkuParamsFromStoreSkuInfo2(storeSku, true, isExd)
params := genSkuParamsFromStoreSkuInfo2(storeSku, true, true)
if globals.EnableEbaiStoreWrite {
strStoreID := utils.Int2Str(storeID)
if vendorSkuID, err = api.EbaiAPI.SkuCreate(ctx.GetTrackInfo(), strStoreID, customSkuID, params); err == nil && !isExd {