package routers import ( "github.com/gin-gonic/gin" ) func InitAuth(r *gin.RouterGroup) { //登录 //authController := new(controller.AuthController) //authGroup := r.Group("auth/").Use(middleware.Token()) //authGroup.POST("auth_code", authController.CreateAuthCode) }