08 2021 档案
摘要:原文地址:https://blog.csdn.net/xupengbo527/article/details/108533368 使用阿里的seate实现分布式事务的实现。 注册中心使用eureka.远程调用使用feign。请自行搭建分布式系统。 1. 下载seate项目。下载地址:https://
阅读全文
摘要:Enumeration<String> headerNames = request.getHeaderNames(); while(headerNames.hasMoreElements()) {//判断是否还有下一个元素 String nextElement = headerNames.nextE
阅读全文
摘要:1、必须注册到eureka并被发现 2、pom引入 包 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> </depend
阅读全文