feat: new function for add user in manger console user list page

This commit is contained in:
RockYang
2023-08-01 16:02:49 +08:00
parent ffb1ef0470
commit 9eb8da2789
5 changed files with 105 additions and 33 deletions

View File

@@ -215,7 +215,7 @@ func main() {
fx.Invoke(func(s *core.AppServer, h *admin.UserHandler) {
group := s.Engine.Group("/api/admin/user/")
group.GET("list", h.List)
group.POST("update", h.Update)
group.POST("save", h.Save)
group.GET("remove", h.Remove)
group.GET("loginLog", h.LoginLog)
group.POST("resetPass", h.ResetPass)