🔥 重构管理页面,长得更好看一些了

This commit is contained in:
李寻欢
2024-04-23 10:42:08 +08:00
parent ab5a8092f7
commit 1fca021b38
18 changed files with 1144 additions and 279 deletions

View File

@@ -14,10 +14,11 @@ func Init(g *gin.Engine) {
ctx.Redirect(302, "/index.html")
})
g.GET("/index.html", app.Index) // 首页
g.GET("/test.html", func(ctx *gin.Context) {
ctx.HTML(200, "test.html", nil)
})
g.GET("/index.html", app.Index) // 首页
g.GET("/friend.html", app.Friend) // 好友列表
g.GET("/group.html", app.Group) // 群组列表
g.GET("/404.html", app.PageNotFound) // 群组列表
// 接口
api := g.Group("/api")