模板还不行,需要改变。
This commit is contained in:
@@ -178,7 +178,6 @@ func RegisterRoutes(r *gin.Engine) {
|
||||
authAdmin.GET("/index", controllers.ShowAdminIndexPage)
|
||||
authAdmin.GET("/themes", controllers.ListThemes)
|
||||
authAdmin.POST("/themes/switch", controllers.SwitchTheme)
|
||||
authAdmin.POST("/setinfo", controllers.UsersSetInfoHandler)
|
||||
authAdmin.POST("/setpwd", controllers.UsersSetPwdHandler)
|
||||
admin.GET("/logout", controllers.UsersLogoutHandler) // 添加退出路由
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user