init
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"apiServer_service/routs"
|
||||
"github.com/cloudwego/hertz/pkg/app/server"
|
||||
)
|
||||
|
||||
func SetupRoutes(r *server.Hertz) {
|
||||
auth := r.Group("/api")
|
||||
{
|
||||
// index 路由
|
||||
routs.RegisterIndexRoutes(auth)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user