新增菜单结构体字段,新增了两个

This commit is contained in:
2023-06-13 14:12:49 +08:00
parent e09d1f051b
commit db36b2f32b
8 changed files with 58 additions and 9 deletions
+1
View File
@@ -4,4 +4,5 @@ package controller
type Api struct {
Basic // 基础数据
Role // 角色数据
Menu // 菜单数据
}
+14
View File
@@ -0,0 +1,14 @@
package controller
import (
"github.com/gin-gonic/gin"
"hospital-admin-api/api/responses"
)
type Menu struct{}
// GetMenuList 获取菜单列表
func (r *Menu) GetMenuList(c *gin.Context) {
responses.Ok(c)
return
}