zhangqian
2023-10-13 d8a10d5a618678748edf133fbb1998b0bc9d1602
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加入黑名单
    }
}