auth.go 276 B

123456789101112
  1. package routers
  2. import (
  3. "github.com/gin-gonic/gin"
  4. )
  5. func InitAuth(r *gin.RouterGroup) {
  6. //登录
  7. //authController := new(controller.AuthController)
  8. //authGroup := r.Group("auth/").Use(middleware.Token())
  9. //authGroup.POST("auth_code", authController.CreateAuthCode)
  10. }