摘要: 1:多redis环境问题 背景:因为我这个项目是单独的jar包,需要独立与系统之外,所以存在项目中有多个redis环境配置的问题 1.1、正确的配置方式: //spring-session-data-redis配置 @Configuration @EnableRedisHttpSession //指 阅读全文
posted @ 2022-09-26 10:58 xzlnuli 阅读(594) 评论(0) 推荐(0)
摘要: 1:参考这篇文章就好了 https://github.com/yugabyte/redis-code-samples/blob/69fe87302de0c9524036c8476cbc5ed90e988165/spring-session/spring-session-data-redis/src/ 阅读全文
posted @ 2022-09-22 09:36 xzlnuli 阅读(31) 评论(0) 推荐(0)
摘要: 1:怎么优雅的进行类的动态扩展 https://zhuanlan.zhihu.com/p/479047989 阅读全文
posted @ 2022-09-20 16:26 xzlnuli 阅读(14) 评论(0) 推荐(0)
摘要: 1:泛型方法的使用和讲解https://zhuanlan.zhihu.com/p/512642818 阅读全文
posted @ 2022-09-20 13:45 xzlnuli 阅读(15) 评论(0) 推荐(0)
摘要: 博客地址:https://blog.csdn.net/u014496893/article/details/115710169 阅读全文
posted @ 2022-09-19 11:10 xzlnuli 阅读(10) 评论(0) 推荐(0)
摘要: 贡献博客:https://www.cnblogs.com/xfeiyun/p/15836322.html 阅读全文
posted @ 2022-09-02 15:43 xzlnuli 阅读(9) 评论(0) 推荐(0)
摘要: 分布式事务集成:https://zhuanlan.zhihu.com/p/94173991 阅读全文
posted @ 2022-08-31 16:50 xzlnuli 阅读(29) 评论(0) 推荐(0)
摘要: 这个网站很有用哦:http://www.itmind.net/217.html 阅读全文
posted @ 2022-08-31 14:28 xzlnuli 阅读(37) 评论(0) 推荐(0)
摘要: //返回 对象集合以类属性一升序排序list.stream().sorted(Comparator.comparing(类::属性一)); //返回 对象集合以类属性一降序排序 注意两种写法list.stream().sorted(Comparator.comparing(类::属性一).rever 阅读全文
posted @ 2022-08-26 15:59 xzlnuli 阅读(206) 评论(0) 推荐(0)
摘要: 1.springboot集成swagger2时get方式传参在swagger-ui.html中相应的api中为参数赋值问题 在@ApilmplicitParam配置一个参数 paramType="query" 加在后面就行了。 这个属性是指定参数放的位置的。 paramType:参数放在哪个地方 h 阅读全文
posted @ 2022-08-18 14:04 xzlnuli 阅读(1023) 评论(0) 推荐(0)