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