上一页 1 2 3 4 5 6 7 ··· 20 下一页
摘要: String str = "1,2,3";//先将他转化成int的数组如上述:欲将str 转成 数值型数组 利用 split 函数先以 ,分割 String str = "1,2,3";String[] split = str.split (",");//然后利用Lambda表达式进行类型转换即可i 阅读全文
posted @ 2023-02-13 17:28 JLCUI 阅读(1517) 评论(0) 推荐(0) 编辑
摘要: 把逗号分隔的String字符串转int集合 集合或数组转变为逗号分隔的字符串的几种方式 1、自己编码实现 2、org.apache.commons.lang3.StringUtils 3、StringJoiner, JDK1.8+ 4、String.join(), JDK1.8+ 5、Stream, 阅读全文
posted @ 2023-02-13 17:18 JLCUI 阅读(3553) 评论(0) 推荐(0) 编辑
摘要: mysql 授权远程访问 1.进入cd /usr/local/mysql/bin 下执行 ./mysql -uroot -pInfosec@2020 (-p后面是数据库密码) 2.use mysql; 3.update user set host = '%' where user='root'; 4 阅读全文
posted @ 2023-01-30 14:37 JLCUI 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 进入mysql命令 1.进入cd /usr/local/mysql/bin 下执行 ./mysql -uroot -pInfosec@2020 (-p后面是数据库密码) 2.use mysql; 3.update user set host = '%' where user='root'; 4.se 阅读全文
posted @ 2023-01-04 13:49 JLCUI 阅读(64) 评论(0) 推荐(0) 编辑
摘要: Iterator<LoginConfigBean> it = list.iterator(); while (it.hasNext()) { LoginConfigBean bean = it.next(); String codeOld[] = bean.getCode().split(","); 阅读全文
posted @ 2022-12-21 10:17 JLCUI 阅读(14) 评论(0) 推荐(0) 编辑
摘要: @Autowired private RestTemplate httpRestTemplate; String code= request.getParameter("code"); URI url = new URI("http://10.20.60.107:8088/ssoserver/moc 阅读全文
posted @ 2022-11-09 16:15 JLCUI 阅读(8) 评论(0) 推荐(0) 编辑
摘要: @ApiOperation(value = "获取注册二维码") @GetMapping("/get/user/getqrcode") public void getQrCode(HttpServletResponse response, HttpServletRequest request) th 阅读全文
posted @ 2022-10-28 14:14 JLCUI 阅读(8) 评论(0) 推荐(0) 编辑
摘要: package com.infosec.ztpdp.policycenter.component.log; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang 阅读全文
posted @ 2022-09-21 15:42 JLCUI 阅读(59) 评论(0) 推荐(0) 编辑
摘要: package com.infosec.warning.component; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.ApplicationArgum 阅读全文
posted @ 2022-08-26 13:46 JLCUI 阅读(98) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>com.github.oshi</groupId> <artifactId>oshi-core</artifactId> <version>3.12.2</version> </dependency> <dependency> <groupId>net.j 阅读全文
posted @ 2022-08-25 17:59 JLCUI 阅读(130) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 20 下一页