zhangqian
2023-08-03 4df9a15d20b9e4ef25cd795a583e64c61943c915
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加入黑名单
    }
}