123456789101112 |
- package router
- import (
- "github.com/gin-gonic/gin"
- jwt "gogs.baozhida.cn/zoie/OAuth-core/pkg/jwtauth"
- )
- var (
- routerNoCheckRole = make([]func(*gin.RouterGroup), 0)
- routerOpenapi = make([]func(v1 *gin.RouterGroup, openapiMiddleware gin.HandlerFunc), 0)
- routerCheckRole = make([]func(v1 *gin.RouterGroup, authMiddleware *jwt.GinJWTMiddleware), 0)
- )
|