aa
This commit is contained in:
@@ -37,6 +37,16 @@ var (
|
|||||||
201220334: 1,
|
201220334: 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ebaiExSkuCatMap3 = map[int]int{
|
||||||
|
35062: 1,
|
||||||
|
34759: 1,
|
||||||
|
6042855: 1,
|
||||||
|
6041992: 1,
|
||||||
|
27259: 1,
|
||||||
|
6046862: 1,
|
||||||
|
6046864: 1,
|
||||||
|
}
|
||||||
|
|
||||||
ebaiExSkuCatMap2 = map[int]int{
|
ebaiExSkuCatMap2 = map[int]int{
|
||||||
6046399: 1,
|
6046399: 1,
|
||||||
6046283: 1,
|
6046283: 1,
|
||||||
@@ -436,6 +446,13 @@ func genSkuParamsFromStoreSkuInfo2(storeSku *dao.StoreSkuSyncInfo, isCreate, isE
|
|||||||
categoryID = s.EbaiID
|
categoryID = s.EbaiID
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ebaiExSkuCatMap3[storeSku.SkuID] != 0 {
|
||||||
|
store, _ := dao.GetStoreDetail(dao.GetDB(), storeSku.StoreID, model.VendorIDEBAI, "")
|
||||||
|
if store.CityCode == 510100 {
|
||||||
|
s, _ := dao.GetStoreSkuCategoryMap(dao.GetDB(), 175, storeSku.StoreID)
|
||||||
|
categoryID = s.EbaiID
|
||||||
|
}
|
||||||
|
}
|
||||||
params["category_id"] = categoryID
|
params["category_id"] = categoryID
|
||||||
params["name"] = utils.LimitMixedStringLen(storeSku.SkuName, ebaiapi.MaxSkuNameByteCount)
|
params["name"] = utils.LimitMixedStringLen(storeSku.SkuName, ebaiapi.MaxSkuNameByteCount)
|
||||||
params["cat3_id"] = getEbaiCat(storeSku.VendorVendorCatID)
|
params["cat3_id"] = getEbaiCat(storeSku.VendorVendorCatID)
|
||||||
|
|||||||
Reference in New Issue
Block a user