sys_jwt.go 266 B

1234567891011121314
  1. package system
  2. import (
  3. "github.com/gin-gonic/gin"
  4. )
  5. type JwtRouter struct{}
  6. func (s *JwtRouter) InitJwtRouter(Router *gin.RouterGroup) {
  7. jwtRouter := Router.Group("jwt")
  8. {
  9. jwtRouter.POST("jsonInBlacklist", jwtApi.JsonInBlacklist) // jwt加入黑名单
  10. }
  11. }