上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 33 下一页
摘要: 因为备份、不同版本等问题,导致ECS Linux上存放有多个Nginx目录,可以通过如下方法定位当前正在运行的Nginx的配置文件: 1. 查看nginx的PID,以常用的80端口为例:netstat -anop | grep 0.0.0.0:802. 通过相应的进程ID(比如:4562)查询当前运 阅读全文
posted @ 2023-05-06 11:36 全琪俊 阅读(1699) 评论(0) 推荐(0)
摘要: BigDecimal的setScale四大常用方法总结 // 设置小数点后第三位数字一大一小观察效果BigDecimal num = new BigDecimal("3.3235667");BigDecimal numOne = new BigDecimal("3.3275667"); 1、ROUN 阅读全文
posted @ 2023-04-28 10:51 全琪俊 阅读(1293) 评论(0) 推荐(0)
摘要: //先去重Map<String, DigitalProductsUser> checkRelationMap = digitalProductsUserList.stream().filter(entity->ObjectUtil.isNotNull(entity.getProductsId())& 阅读全文
posted @ 2023-04-27 15:08 全琪俊 阅读(985) 评论(0) 推荐(0)
摘要: DateTime转LocalDate DateTime useTimeDate = DateUtil.offsetMonth(date, 12); LocalDateTime useTime = DateUtil.toLocalDateTime(useTimeDate); Java8 日期时间API 阅读全文
posted @ 2023-04-27 09:51 全琪俊 阅读(191) 评论(0) 推荐(0)
摘要: Clarify,澄清、阐明,使得内容更好理解。 Exemplify,举例说明Expand,扩写,在原有基础上提供更多内容Rewrite,重写内容shorten,精简内容 和文本创作相关的指令:Content ideas/内容创意: 提供某个主题或行业的内容创意和灵感Blog post ideas/博 阅读全文
posted @ 2023-04-21 14:23 全琪俊 阅读(694) 评论(0) 推荐(0)
摘要: 对不确定正负性的数值转化方法:假设有a,正负不确定,则可用:intb=Math.abs(a);取绝对值的方式来将数值转化成正数。 阅读全文
posted @ 2023-04-11 09:12 全琪俊 阅读(69) 评论(0) 推荐(0)
摘要: //当前时间Date date = DateUtil.date();String dateStr = DateUtil.format(date, "yyyy-MM-dd"); sysLogLambdaQueryWrapperhydl.apply("DATE_FORMAT(create_time,'% 阅读全文
posted @ 2023-04-07 09:36 全琪俊 阅读(47) 评论(0) 推荐(0)
摘要: 身份证是否合法IdcardUtil.isValidCard(entity.getIdentityCard())手机号是否合法 PhoneUtil.isMobile(x.getPhone()) String phoneNumber = "手机号码"; // 替换为要验证的手机号码 boolean is 阅读全文
posted @ 2023-04-06 16:46 全琪俊 阅读(668) 评论(0) 推荐(0)
摘要: 普通字段排序 List<JSONObject> mapListDept=new ArrayList<>(); //重新排序mapListDept=mapListDept.stream().sorted(Comparator.comparing(jsonObjectTest -> ((JSONObje 阅读全文
posted @ 2023-03-30 10:27 全琪俊 阅读(5133) 评论(0) 推荐(0)
摘要: 一、官网下载对接文档 http://mas.10086.cn/login 二、登录云平台配置账户 管理–>接口管理–>新建短信接口建立自己的用户信息 三、建立好账户后导出证书(用于对接) 四、编写Java对接代码 注:网关签名编码既第三步导出签名的编码 1.application.yml #短信验证 阅读全文
posted @ 2023-03-29 11:31 全琪俊 阅读(3421) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 33 下一页