系列文章目录
【项目实战】Spring boot整合JWT、Vue案例展示用户鉴权
【微服务实战】JWT
前言
案例整合了Spring boot、Spring Cloud alibaba、Gateway、Nacos discovery、Nacos config、openFeign、JWT、Vue3、Router、Axios等;通过JWT和登录、查询(带用户信息)接口,验证了上述工具以及鉴权功能。
1、若无公共模块,先添加公共模块
1.1、创建模块:common-service
1.2、修改父项的pom文件
1.2.1、给springCloud父项添加子模块
1.2.2、添加common-service的全局依赖