- initdata.InitVendorCategory
This commit is contained in:
@@ -49,7 +49,7 @@ func (p *PurchaseHandler) GetVendorCategories() (vendorCats []*model.SkuVendorCa
|
||||
cat := &model.SkuVendorCategory{
|
||||
VendorID: model.VendorIDMTWM,
|
||||
Name: utils.Interface2String(v["name"]),
|
||||
Level: int(utils.MustInterface2Int64(v["level"])),
|
||||
Level: i + 1, //int(utils.MustInterface2Int64(v["level"])),
|
||||
}
|
||||
cat.LastOperator = "builder"
|
||||
vendorCats = append(vendorCats, cat)
|
||||
|
||||
Reference in New Issue
Block a user