This commit is contained in:
suyl
2021-07-13 16:45:12 +08:00
parent 027ea9c3af
commit accd7a6ace
3 changed files with 36 additions and 5 deletions

View File

@@ -117,6 +117,10 @@ func UpdateUser(c *gin.Context, payload string) (err error) {
return err
}
func GetMenu(c *gin.Context) (menus []*model.Menu, err error) {
func GetMenus(c *gin.Context) (menus []*model.Menu, err error) {
return dao.GetMenus(globals.GetDB())
}
func GetMenuDetail(c *gin.Context, id int) (menus []*model.Menu, err error) {
return
}