a
This commit is contained in:
@@ -83,7 +83,7 @@ func GetVendorCategoriesWithMap(ctx *jxcontext.Context, vendorID int) (vendorCat
|
||||
if vendorID != model.VendorIDMTWM {
|
||||
return nil, fmt.Errorf("只支持美团!")
|
||||
}
|
||||
return dao.GetVendorCategoriesWithMap(dao.GetDB(), vendorID)
|
||||
return dao.GetVendorCategoriesWithMap(dao.GetDB(), vendorID, 0)
|
||||
}
|
||||
|
||||
// parentID 为-1表示所有
|
||||
|
||||
Reference in New Issue
Block a user