优化代码

This commit is contained in:
刘祥超
2022-08-28 11:07:21 +08:00
parent c37c948129
commit bb21a2aa5f
4 changed files with 7 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ func init() {
Prefix("/users").
Get("", new(IndexAction)).
GetPost("/createPopup", new(CreatePopupAction)).
// 单个用户信息
Get("/user", new(UserAction)).
GetPost("/update", new(UpdateAction)).
Post("/delete", new(DeleteAction)).
@@ -28,6 +30,8 @@ func init() {
GetPost("/createPopup", new(accesskeys.CreatePopupAction)).
Post("/delete", new(accesskeys.DeleteAction)).
Post("/updateIsOn", new(accesskeys.UpdateIsOnAction)).
//
EndAll()
})
}