This commit is contained in:
邹宗楠
2025-07-21 09:20:25 +08:00
parent 140682a527
commit 61dd53977f
3 changed files with 21 additions and 14 deletions

View File

@@ -283,7 +283,13 @@ func (p *PurchaseHandler) CreateStoreSkus(ctx *jxcontext.Context, storeID int, v
isExd = false
customSkuID = int64(storeSku.SkuID)
}
if storeID == 100278 {
globals.SugarLogger.Debugf("-----skus := %s", utils.Format4Output(storeSku, false))
}
params := genSkuParamsFromStoreSkuInfo2(storeSku, true, true)
if storeID == 100278 {
globals.SugarLogger.Debugf("-----skus := %s", utils.Format4Output(params, false))
}
if globals.EnableEbaiStoreWrite {
strStoreID := utils.Int2Str(storeID)
if vendorSkuID, err = api.EbaiAPI.SkuCreate(ctx.GetTrackInfo(), strStoreID, customSkuID, params); err == nil && !isExd {