This commit is contained in:
2025-07-02 19:42:16 +08:00
parent a6e4d6e219
commit 93d46459f9
10 changed files with 192 additions and 109 deletions
-3
View File
@@ -89,9 +89,6 @@ func main() {
ctx.HTML(404, "error_404.html", gin.H{})
})
r.Use(func(ctx *gin.Context) {
routers.Fitst_use(ctx)
})
routers.Def_router(r.Group("/")) //分组路由传递到def_routers。go
routers.Api_router(r.Group("/api/")) //分组路由传递到api_routers。go