aa
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package ebai
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
"strings"
|
||||
"time"
|
||||
@@ -419,11 +420,14 @@ func genSkuParamsFromStoreSkuInfo2(storeSku *dao.StoreSkuSyncInfo, isCreate, isE
|
||||
"preparation_time": storeSku.PreparationTime,
|
||||
}
|
||||
if !isExd {
|
||||
fmt.Println("test1", storeSku.SkuID)
|
||||
if ebaiExSkuCatMap[storeSku.SkuID] != 0 {
|
||||
fmt.Println("test2", storeSku.StoreID)
|
||||
store, _ := dao.GetStoreDetail(dao.GetDB(), storeSku.StoreID, model.VendorIDEBAI, "")
|
||||
if store.CityCode == 510100 {
|
||||
s, _ := dao.GetStoreSkuCategoryMap(dao.GetDB(), 439, storeSku.StoreID)
|
||||
params["category_id"] = s.EbaiID
|
||||
fmt.Println("test3", s.EbaiID)
|
||||
} else {
|
||||
params["category_id"] = utils.Str2Int64(storeSku.VendorCatID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user