This commit is contained in:
邹宗楠
2025-11-27 15:17:44 +08:00
parent 4c75b85aa6
commit de174c6651

View File

@@ -287,6 +287,11 @@ func (p *PurchaseHandler) CreateStoreSkus(ctx *jxcontext.Context, storeID int, v
params := genSkuParamsFromStoreSkuInfo2(storeSku, true, true)
if globals.EnableEbaiStoreWrite {
strStoreID := utils.Int2Str(storeID)
if storeID == 800374 {
globals.SugarLogger.Debugf("------parastrStoreID := %s", strStoreID)
globals.SugarLogger.Debugf("------parastrStoreID := %d", customSkuID)
globals.SugarLogger.Debugf("------params := %s", utils.Format4Output(params, false))
}
if vendorSkuID, err = api.EbaiAPI.SkuCreate(ctx.GetTrackInfo(), strStoreID, customSkuID, params); err == nil && !isExd {
utils.AfterFuncWithRecover(5*time.Second, func() {
api.EbaiAPI.SkuShopCategoryMap(strStoreID, vendorSkuID, "", utils.Str2Int64(storeSku.VendorCatID), genSkuCatRank(storeSku))