feat:完善项目

This commit is contained in:
henry
2021-11-04 15:15:11 +08:00
parent 288c74dc41
commit 153df336b8
18 changed files with 898 additions and 76 deletions

View File

@ -13,6 +13,11 @@ func (*User) Info(c *gin.Context) {
APIResponse(nil, data)
}
func (*User) Menu(c *gin.Context) {
data, err := user.NewMenu()(getSession()(c).(*service.Session)).Menu()
APIResponse(err, data)
}
func (*User) List(c *gin.Context) {
form := &struct {
Name string `json:"name" form:"name"`