aa
This commit is contained in:
@@ -142,6 +142,6 @@ 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
|
||||
func GetMenuDetail(c *gin.Context, id int) (menu *model.MenuDetail, err error) {
|
||||
return dao.GetMenuDetail(globals.GetDB(), id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user