- initdata.InitVendorCategory

This commit is contained in:
gazebo
2018-12-13 16:47:27 +08:00
parent c0effbbf2b
commit 03198c0683
4 changed files with 53 additions and 1 deletions

View File

@@ -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)