fix 404 error with remove api keys

This commit is contained in:
RockYang 2024-04-07 08:01:25 +08:00
parent 8c924ca98f
commit 7277cb289f

View File

@ -297,7 +297,7 @@ func main() {
group.POST("save", h.Save)
group.GET("list", h.List)
group.POST("set", h.Set)
group.POST("remove", h.Remove)
group.GET("remove", h.Remove)
}),
fx.Invoke(func(s *core.AppServer, h *admin.UserHandler) {
group := s.Engine.Group("/api/admin/user/")