- 重构同步商品时,商品或分类不存在或已存在的错误处理
This commit is contained in:
@@ -158,8 +158,11 @@ func (p *PurchaseHandler) DeleteStoreSkus(ctx *jxcontext.Context, storeID int, v
|
||||
} else {
|
||||
err = api.MtwmAPI.RetailCatSkuBatchDelete(vendorStoreID, nil, nil, partner.BareStoreSkuInfoList(storeSkuList).GetVendorSkuIDList())
|
||||
}
|
||||
if mtwmapi.IsErrSkuNotExist(err) {
|
||||
err = nil
|
||||
}
|
||||
}
|
||||
return ignoreNoAppFoodErr(err)
|
||||
return err
|
||||
}
|
||||
|
||||
func (p *PurchaseHandler) UpdateStoreSkusStatus(ctx *jxcontext.Context, storeID int, vendorStoreID string, storeSkuList []*partner.BareStoreSkuInfo) (err error) {
|
||||
|
||||
Reference in New Issue
Block a user