feat(oauth): Oauth callback page beautification (#115)

This commit is contained in:
lejianwen
2025-02-25 13:51:49 +08:00
parent ef4af39f94
commit 0dd92311b2
4 changed files with 181 additions and 11 deletions

View File

@@ -18,6 +18,8 @@ func ApiInit(g *gin.Engine) {
if global.Config.App.ShowSwagger == 1 {
g.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler, ginSwagger.InstanceName("api")))
}
// 加载 HTML 模板
g.LoadHTMLGlob("http/templates/*")
frg := g.Group("/api")