[系统用户]实现基础的权限校验

This commit is contained in:
刘祥超
2020-12-02 23:47:50 +08:00
parent d190a536ee
commit 9d8e1c5f87
16 changed files with 191 additions and 53 deletions

View File

@@ -10,12 +10,12 @@ func init() {
server.
Helper(helpers.NewUserMustAuth()).
Data("teaMenu", "admins").
Data("teaModule", "admin").
Prefix("/admins").
Get("", new(IndexAction)).
GetPost("/createPopup", new(CreatePopupAction)).
GetPost("/updatePopup", new(UpdatePopupAction)).
Post("/delete", new(DeleteAction)).
Post("/updateOn", new(UpdateOnAction)).
EndAll()
})
}