随笔分类 -  spring cloud

sping cloud微服务中zuul路由
摘要:不论是使用传统路由的配置方式还是服务路由的配置方式,我们都需要为每个路由规则定义匹配表达式; ? 匹配任意的单个字符 URL路径 /user-service/? 匹配比如: /user-service/a 、 /user-service/b 、 /user-service/c *匹配任意数量的字符 阅读全文

posted @ 2018-03-15 11:20 沫菲 阅读(205) 评论(0) 推荐(0)

spring cloud security oauth2单点登录
摘要:1.maven依赖关系 pom.xml中添加 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> 2 阅读全文

posted @ 2018-03-09 18:00 沫菲 阅读(4115) 评论(0) 推荐(0)

导航