摘要: package org.example.tree; import org.springframework.util.CollectionUtils; import java.util.*; /** * @ClassName TreeUtils2 * @Description TODO * @Auth 阅读全文
posted @ 2023-11-23 16:19 Aoul 阅读(28) 评论(0) 推荐(0) 编辑
摘要: long startMillis = System.currentTimeMillis(); long endMillis = System.currentTimeMillis(); long minutes = TimeUnit.MILLISECONDS.toMinutes(startMillis 阅读全文
posted @ 2023-08-08 14:18 Aoul 阅读(32) 评论(0) 推荐(0) 编辑
摘要: <div class="cnblogs_Highlighter"><pre class="brush:csharp;gutter:true;"> public void exportExcel(HttpServletResponse response, DataParams dataParams) 阅读全文
posted @ 2023-07-10 16:06 Aoul 阅读(210) 评论(0) 推荐(0) 编辑
摘要: <div class="cnblogs_Highlighter"><pre class="brush:csharp;gutter:true;"> package com.zmj.sy.modules.platfrom.util;import cn.hutool.core.date.DateTime; 阅读全文
posted @ 2023-07-10 16:02 Aoul 阅读(51) 评论(0) 推荐(0) 编辑
摘要: WxConfig.java @Slf4j@Servicepublic class WxConfig {@Resourceprivate WxClient wxClient; // appId private static final String appId = "xxxx"; // appIdSe 阅读全文
posted @ 2023-06-07 15:49 Aoul 阅读(255) 评论(0) 推荐(0) 编辑
摘要: boolean status = InetAddress.getByName(configKafkaEntity.getKafkaIp()).isReachable(3000); if (!status) { log.error(configKafkaEntity.getKafkaIp() + "不 阅读全文
posted @ 2023-06-02 11:09 Aoul 阅读(47) 评论(0) 推荐(0) 编辑
摘要: package com.sunclouder.das.data.kafka.forward;import cn.hutool.core.util.StrUtil;import cn.hutool.json.JSONObject;import cn.hutool.json.JSONUtil;impor 阅读全文
posted @ 2023-06-02 11:03 Aoul 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 一、准备好 gcc 环境 yum install gcc-c++ 复制代码 出现以下日志,代表安装成功。Package gcc-c++-4.8.5-39.el7.x86_64 already installed and latest version Loaded plugins: fastestmi 阅读全文
posted @ 2023-04-03 20:55 Aoul 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 防火墙操作:查看防火墙状态systemctl status firewalld、 firewall-cmd --state暂时关闭防火墙systemctl stop firewalld永久关闭防火墙(慎用)systemctl disable firewalld开启防火墙systemctl start 阅读全文
posted @ 2023-04-03 20:26 Aoul 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 1、时间戳(毫秒) System.currentTimeMillis() 2、时间戳(转秒) System.currentTimeMillis() / 1000 3、时间戳(转分钟) System.currentTimeMillis() / 1000 / 60 4、时间戳(转小时) System.c 阅读全文
posted @ 2023-03-25 14:14 Aoul 阅读(676) 评论(0) 推荐(0) 编辑