You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
374 B

3 years ago
3 years ago
3 years ago
  1. package system
  2. import (
  3. v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
  4. "github.com/gin-gonic/gin"
  5. )
  6. type JwtRouter struct{}
  7. func (s *JwtRouter) InitJwtRouter(Router *gin.RouterGroup) {
  8. jwtRouter := Router.Group("jwt")
  9. jwtApi := v1.ApiGroupApp.SystemApiGroup.JwtApi
  10. {
  11. jwtRouter.POST("jsonInBlacklist", jwtApi.JsonInBlacklist) // jwt加入黑名单
  12. }
  13. }