lejianwen месяцев назад: 11
Родитель
Сommit
9c8822f857

+ 1 - 1
http/router/api.go

@@ -19,7 +19,7 @@ func ApiInit(g *gin.Engine) {
19 19
 		g.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler, ginSwagger.InstanceName("api")))
20 20
 	}
21 21
 	// 加载 HTML 模板
22
-	g.LoadHTMLGlob("http/templates/*")
22
+	g.LoadHTMLGlob("resources/templates/*")
23 23
 
24 24
 	frg := g.Group("/api")
25 25
 

http/templates/oauth_fail.html → resources/templates/oauth_fail.html


http/templates/oauth_success.html → resources/templates/oauth_success.html