You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
335 B
Go
17 lines
335 B
Go
11 months ago
|
package system
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
v1 "miniapp/api/v1"
|
||
|
)
|
||
|
|
||
|
type JwtRouter struct{}
|
||
|
|
||
|
func (s *JwtRouter) InitJwtRouter(Router *gin.RouterGroup) {
|
||
|
jwtRouter := Router.Group("jwt")
|
||
|
jwtApi := v1.ApiGroupApp.SystemApiGroup.JwtApi
|
||
|
{
|
||
|
jwtRouter.POST("jsonInBlacklist", jwtApi.JsonInBlacklist) // jwt加入黑名单
|
||
|
}
|
||
|
}
|