Update the html files.

This commit is contained in:
zicla
2018-01-01 18:20:18 +08:00
parent e4a64dbbdc
commit bd98147eb9
8 changed files with 16 additions and 16 deletions

View File

@ -24,7 +24,7 @@ func (this *UserController) RegisterRoutes() map[string]func(writer http.Respons
//每个Controller需要主动注册自己的路由。
routeMap["/api/user/create"] = this.Wrap(this.Create, USER_ROLE_ADMINISTRATOR)
routeMap["/api/user/edit"] = this.Wrap(this.Edit, USER_ROLE_ADMINISTRATOR)
routeMap["/api/user/edit"] = this.Wrap(this.Edit, USER_ROLE_USER)
routeMap["/api/user/change/password"] = this.Wrap(this.ChangePassword, USER_ROLE_USER)
routeMap["/api/user/reset/password"] = this.Wrap(this.ResetPassword, USER_ROLE_ADMINISTRATOR)
routeMap["/api/user/login"] = this.Wrap(this.Login, USER_ROLE_GUEST)