摘要: 解决办法 https://blog.csdn.net/mate_ge/article/details/93518286 阅读全文
posted @ 2022-07-30 08:58 村上春树的叶子 阅读(41) 评论(0) 推荐(0) 编辑
摘要: Spring 官网(默认) https://start.spring.io 阿里 http://start.aliyun.com 阅读全文
posted @ 2022-07-29 19:34 村上春树的叶子 阅读(18) 评论(0) 推荐(0) 编辑
摘要: RocketMQ和RabbitMQ的特性及区别 概述 消息队列被企业用作系统内部通信的核心手段,主要以提升性能、系统解耦、流量消峰。具有低耦合、可靠投递、广播、流量控制、最终一致性等一系列功能,成为异步RPC的主要手段之一。流行的有 ActiveMQ、RabbitMQ、Kafaka、阿里自主研发的R 阅读全文
posted @ 2022-07-29 16:47 村上春树的叶子 阅读(300) 评论(0) 推荐(0) 编辑
摘要: List<Integer> categoryids = new ArrayList<>(); String[] idsArr = StringUtils.split(categoryIdsStr, ","); try { categoryids = Arrays.stream(idsArr) .ma 阅读全文
posted @ 2022-07-26 17:14 村上春树的叶子 阅读(271) 评论(0) 推荐(0) 编辑
摘要: @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createTime; @JsonFormat 阅读全文
posted @ 2022-07-19 17:49 村上春树的叶子 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 导入依赖 <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.13</version> </dependency> 上代码 public 阅读全文
posted @ 2022-07-18 17:56 村上春树的叶子 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 第一种写法: 原符号 < <= > >= & ’ " 替换符号 &lt; &lt;= &gt; &gt;= &amp; &apos; &quot; 例如:sql如下: create_date_time >= #{startTime} and create_date_time <= #{endTime 阅读全文
posted @ 2022-07-18 12:30 村上春树的叶子 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-07-16 17:52 村上春树的叶子 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 防火墙相关 firewall-cmd --state # 查看防火墙状态 firewall-cmd --zone=public --add-port=3306/tcp --permanent # 添加端口 firewall-cmd --list-port # 查看端口列表 firewall-cmd 阅读全文
posted @ 2022-07-16 17:18 村上春树的叶子 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 修改 Redis 的配置文件 /etc/redis.conf # bind 127.0.0.1 -::1 bind 0.0.0.0 # 绑定 ip,0.0.0.0 表示不绑定 protected-mode yes # 开启保护模式 requirepass 123456 # 设置密码 连接即可 # h 阅读全文
posted @ 2022-07-16 16:15 村上春树的叶子 阅读(20) 评论(0) 推荐(0) 编辑