会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
linzm14
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
16
下一页
2024年3月13日
openfeign,webClient, restTemplate 忽略 ssl 证书
摘要: 0 springboot 版本 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.0.3</version> <rel
阅读全文
posted @ 2024-03-13 16:39 linzm14
阅读(557)
评论(0)
推荐(0)
2024年1月15日
openfeign 忽略ssl证书 亲测有效
摘要: 请求https接口异常 Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: una
阅读全文
posted @ 2024-01-15 16:38 linzm14
阅读(1550)
评论(0)
推荐(0)
2024年1月12日
Json
摘要: @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) @JsonProperty("access_token")private String accessToken; @JsonFormat(timezone = "GMT+8", p
阅读全文
posted @ 2024-01-12 12:01 linzm14
阅读(11)
评论(0)
推荐(0)
2023年12月27日
springboot 中,CommandLineRunner、ApplicationRunner、InitializingBean、@PostConstruct 执行顺序
摘要: 划水。。。 CommandLineRunner、ApplicationRunner、InitializingBean、@PostConstruct 执行顺序 InitializingBean 是 Spring 提供的一个接口,它只有一个方法 afterPropertiesSet(),该方法会在容器初
阅读全文
posted @ 2023-12-27 15:50 linzm14
阅读(324)
评论(0)
推荐(0)
2023年12月11日
MyBatis-Plus 自定义 TypeHandler 映射JSON类型为List
摘要: 1 在mysql 5.7 支持json类型,那么在表实体是怎么运用的 在mybatis-plus 中有相关的handler /** * Jackson 实现 JSON 字段类型处理器 * * @author hubin * @since 2019-08-25 */ @Slf4j @MappedTyp
阅读全文
posted @ 2023-12-11 09:25 linzm14
阅读(4934)
评论(0)
推荐(0)
2023年11月2日
责任链模式消除多个if
摘要: 原来的代码 String tenantId = getTenantId(request); // 判断租户是否存在 SysTenant sysTenant = sysTenantService.getById(tenantId); if (Objects.isNull(sysTenant)) { t
阅读全文
posted @ 2023-11-02 14:27 linzm14
阅读(78)
评论(0)
推荐(0)
2023年9月16日
elasticsearch v6.5.3 v7.17.4 mysql 热加载 扩展词 停止词 同义词
摘要: 安装 官网 https://www.elastic.co/cn/downloads/past-releases/elasticsearch-6-5-3 kibana https://www.elastic.co/cn/downloads/past-releases/kibana-6-5-3 kiba
阅读全文
posted @ 2023-09-16 23:40 linzm14
阅读(88)
评论(0)
推荐(0)
2023年8月23日
静态代理、动态代理、cglib代理及简单案例、常见相关的运用
摘要: 静态代理、动态代理和CGLIB代理都是常见的代理模式,用于在对象之间添加额外的功能或控制访问。 ## @EnableTransactionManagement(proxyTargetClass = true) 的 作用 > 当将 proxyTargetClass 设置为 true 时,将使用基于CG
阅读全文
posted @ 2023-08-23 18:47 linzm14
阅读(150)
评论(0)
推荐(0)
orm 中 lnsert 操作怎么获取生成的主键id值
摘要:  ## mybatis 中的实现 ``` public interface UserMapper extends B
阅读全文
posted @ 2023-08-23 14:10 linzm14
阅读(30)
评论(0)
推荐(0)
2023年8月16日
CompletableFuture 和 @Async 相互切换运用,异步任务切面处理token,非void类型异常处理
摘要: ## CompletableFuture 异常处理 ``` private void asyncChildFaults(FaultTreeRequest request, List fmeaTreeNodeModels) { List> futures = new ArrayList(); Stri
阅读全文
posted @ 2023-08-16 14:47 linzm14
阅读(235)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
16
下一页
公告