fix
wangpengfei
2023-09-01 0b405c63b26629e0c9e4040b78020da0f11e8eb0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package router
 
import (
    "aps_crm/api/v1"
    "github.com/gin-gonic/gin"
)
 
type JwtRouter struct{}
 
func (s *JwtRouter) InitJwtRouter(Router *gin.RouterGroup) {
    jwtRouter := Router.Group("jwt")
    jwtApi := v1.ApiGroup.JwtApi
    {
        jwtRouter.POST("jsonInBlacklist", jwtApi.JsonInBlacklist) // jwt加入黑名单
    }
}