springcloud
changkun99
这个作者很懒,什么都没留下…
展开
-
Feign 填坑之路
摸索了两天的Feign,总结一下遇到的坑: 1、开启@EnableFeignClients 2、Feign配置 @FeignClient(name = "ai-help") public interface AiHelpFeignService { @RequestMapping(value = "/ai/help", method = RequestMethod.POST, con...原创 2018-03-08 11:07:01 · 1055 阅读 · 0 评论 -
基于Spring Boot 2的Spring Cloud Config搭建,整合Spring Security
前言:SpringBoot2 中不少的配置相对于之前的版本都作了修改,导致很多以前的配置都不生效,花费了将近两天才折腾出来,以此记录一下。 一、搭建config server 1、pom文件引入相关依赖。 <dependency> <groupId>org.springframework.cloud</groupId> <artif...原创 2019-06-13 16:04:22 · 503 阅读 · 0 评论