会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
官萧何
逆风的方向,更适合翱翔……
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
24
25
26
27
28
29
30
31
32
···
35
下一页
2019年12月27日
springCloud 使用feign复制请求头调用其他服务 content-length不一致导致调用失败
摘要: 背景:目前需要前端需要从B系统中获取数据,请求先发送到A系统,然后由A系统使用Feign调用B系统的接口,由于调用B系统时需要将请求的用户相关信息一起带到B系统,所以是用的Feign的请求拦截对其进行请求头复制 以下是请求头复制的拦截器 package cn.rivamed.hvc.filter;
阅读全文
posted @ 2019-12-27 10:19 官萧何
阅读(3455)
评论(0)
推荐(1)
2019年12月24日
mysql查询重复用户最新的一条数据
摘要: mysql使用distinct(关键)+ order by + group 查询成绩表中每个学生时间最近的成绩数据 sql初始化 -- -- 主机: 127.0.0.1 -- 服务器版本: 8.0.15 - MySQL Community Server - GPL -- 服务器操作系统: Win64
阅读全文
posted @ 2019-12-24 17:14 官萧何
阅读(4344)
评论(0)
推荐(0)
2019年12月19日
springBoot+mybatisPlus+hutool 实现输入sql导出 excel表格
摘要: 支持pom包 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.1.1</version> </dependency> <depende
阅读全文
posted @ 2019-12-19 17:46 官萧何
阅读(2869)
评论(0)
推荐(0)
springBoot整合mybatis配置mapper xml问题
摘要: 如果mapper没有在resource目录下需要在pom文件build标签中添加以下代码 <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*</include> </inc
阅读全文
posted @ 2019-12-19 14:35 官萧何
阅读(3354)
评论(0)
推荐(0)
解决gateway跨域问题
摘要: 问题浮现 新增配置 package cn.rivamed.common.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configur
阅读全文
posted @ 2019-12-19 09:23 官萧何
阅读(4002)
评论(0)
推荐(0)
上一页
1
···
24
25
26
27
28
29
30
31
32
···
35
下一页
公告