fix bug for remove api 404 errorc

This commit is contained in:
RockYang
2024-04-06 20:36:52 +08:00
parent 803db4e895
commit 5230f90540
9 changed files with 19 additions and 22 deletions

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/")