15 lines
266 B
Go
15 lines
266 B
Go
package system
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type JwtRouter struct{}
|
|
|
|
func (s *JwtRouter) InitJwtRouter(Router *gin.RouterGroup) {
|
|
jwtRouter := Router.Group("jwt")
|
|
{
|
|
jwtRouter.POST("jsonInBlacklist", jwtApi.JsonInBlacklist) // jwt加入黑名单
|
|
}
|
|
}
|