1
This commit is contained in:
@@ -1263,7 +1263,11 @@ func updateOrCreateSkuVendorCategoryMap(db *dao.DaoDB, ctx *jxcontext.Context, n
|
||||
mtwmCategoryID = payload["mtwmCategoryID"].(string)
|
||||
}
|
||||
if payload["categoryID2"] != nil {
|
||||
jxCategoryID = payload["categoryID2"].(int)
|
||||
jxCategoryIDNumber, err := payload["categoryID2"].(json.Number).Int64()
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
jxCategoryID = int(jxCategoryIDNumber)
|
||||
}
|
||||
|
||||
if jdCategoryId != "" {
|
||||
|
||||
Reference in New Issue
Block a user