摘要: package utils; import cn.hutool.core.exceptions.ValidateException; import cn.hutool.jwt.JWT; import cn.hutool.jwt.JWTValidator; import cn.hutool.jwt.s 阅读全文
posted @ 2025-01-19 20:55 徐徐丶 阅读(57) 评论(0) 推荐(0)
摘要: package config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype. 阅读全文
posted @ 2025-01-19 20:54 徐徐丶 阅读(18) 评论(0) 推荐(0)
摘要: 1、建立项目 建立父项目,在父项目下建立子项目gateway,建立common项目。 然后在gateway中导入以下依赖: <!--common--> <dependency> <groupId>com.tkshop</groupId> <artifactId>app-common</artifac 阅读全文
posted @ 2025-01-19 20:44 徐徐丶 阅读(21) 评论(0) 推荐(0)
摘要: AuthGlobalFilter package filter; import cn.hutool.core.text.AntPathMatcher; import config.AuthProperties; import lombok.RequiredArgsConstructor; impor 阅读全文
posted @ 2025-01-19 20:34 徐徐丶 阅读(28) 评论(0) 推荐(0)