This commit is contained in:
2023-11-02 04:34:46 +08:00
commit c4548fe498
369 changed files with 40208 additions and 0 deletions

16
router/system/sys_jwt.go Normal file
View File

@@ -0,0 +1,16 @@
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加入黑名单
}
}