01 2022 档案

摘要:Springboo通过http请求获取文件流下载到浏览器 httpurlconnection下载pdf文件打不开的原因,和解决代码 输入流转成输出流到浏览器客户端(PDF下载) @ApiOperation(value="电子保单下载",notes="电子保单下载") @RequestMapping( 阅读全文
posted @ 2022-01-26 13:45 BBS_自律 阅读(1310) 评论(0) 推荐(0) 编辑
摘要:前端 踩坑笔记:IOS下微信 二次分享 多参数 一种是在请求时对参数做 encodeURIComponent。不能粗暴地 encodeURIComponent(window.location.href),会导致location.origin部分也被编码了 TRANSLATE with x Engli 阅读全文
posted @ 2022-01-26 09:38 BBS_自律 阅读(33) 评论(0) 推荐(0) 编辑
摘要:Spring Boot中使用@Async的时候,千万别忘了线程池的配置 默认配置会导致 内存溢出 springboot+线程池使用 springboot线程池的使用和扩展 TRANSLATE with x English Arabic Hebrew Polish Bulgarian Hindi Po 阅读全文
posted @ 2022-01-24 14:15 BBS_自律 阅读(27) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/watery/p/14034470.html TRANSLATE with x English Arabic Hebrew Polish Bulgarian Hindi Portuguese Catalan Hmong Daw Romanian Chi 阅读全文
posted @ 2022-01-19 09:18 BBS_自律 阅读(13) 评论(0) 推荐(0) 编辑
摘要:spring boot 跨域问题 与一个简单的跨域请求测试 SpringBoot解决跨域的5种方式 package com.sinosoft.framework.config; import org.springframework.beans.factory.annotation.Autowired 阅读全文
posted @ 2022-01-18 09:27 BBS_自律 阅读(17) 评论(0) 推荐(0) 编辑
摘要:1.参考链接 2.为什么使用消息队列?消息对列有什么好处? 3.RabbitMQ 手动确认模式(项目开发常用模式) 通过消息队列可以实现业务上的解耦,将购买逻辑放到两个系统中完成。 异步 如发动短信逻辑 先返回成功结果 实际把消息放到队列中 等着消费。 削峰 listener: simple: # 阅读全文
posted @ 2022-01-18 09:23 BBS_自律 阅读(54) 评论(0) 推荐(0) 编辑
摘要:JRebel 破解最简单的使用 TRANSLATE with x English Arabic Hebrew Polish Bulgarian Hindi Portuguese Catalan Hmong Daw Romanian Chinese Simplified Hungarian Russi 阅读全文
posted @ 2022-01-13 15:59 BBS_自律 阅读(36) 评论(0) 推荐(0) 编辑
摘要:Spring自带的异步调用 @Async 何为SneakyThrows?从字面理解就是“偷偷摸摸的抛出”。对的,就是这个意思。 该注解属于Lombok,它的作用为减少程序的异常捕获。 我们现在写代码,如果遇到异常,通常需要try catch,或者直接throws抛给上一层。 @SneakyThrow 阅读全文
posted @ 2022-01-13 10:23 BBS_自律 阅读(26) 评论(0) 推荐(0) 编辑
摘要:遇到的问题:重定向设置cookie丢失,B系统获取不到设置的cookie。 解决方案:将cookie的domain属性设置为二级域名例如:baidu.com domain:可以访问该Cookie的域名。如果设置为“google.com”,则所有以“google.com”结尾的域名都可以访问该Cook 阅读全文
posted @ 2022-01-11 15:49 BBS_自律 阅读(2090) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示