feat:完善项目
This commit is contained in:
@ -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"`
|
||||
|
Reference in New Issue
Block a user