模板还不行,需要改变。

This commit is contained in:
张超
2025-06-24 19:34:39 +08:00
parent 5e97303558
commit aa16345a48
6 changed files with 144 additions and 152 deletions

View File

@@ -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) // 添加退出路由
}