摘要: public class AliDingDingMessagePush { private static final String MAC = "HmacSHA256"; private static final String CHARSET = "UTF-8"; private static fi 阅读全文
posted @ 2023-03-10 10:51 Husir_Boky 阅读(70) 评论(0) 推荐(0) 编辑
摘要: hash模式路由配置如下: location / { root font; index index.html index.htm; } history模式路由配置如下: location / { root font; index index.html index.htm; try_files $ur 阅读全文
posted @ 2023-01-31 15:55 Husir_Boky 阅读(592) 评论(0) 推荐(0) 编辑
摘要: import static java.util.stream.Collectors.joining; import java.io.File; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.A 阅读全文
posted @ 2022-11-03 19:00 Husir_Boky 阅读(1358) 评论(0) 推荐(0) 编辑
摘要: spring.shardingsphere.datasource.names= #省略数据源配置,请参考用法 # 标准分表配置spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # 描述数据源名称和实 阅读全文
posted @ 2022-08-17 17:48 Husir_Boky 阅读(946) 评论(0) 推荐(0) 编辑
摘要: (一)因为 redis 可以存储Hash值,先把具有相同前缀的数据存放到Hash里,在把Hash存放到redis里。删除redis中Hash对应的key,就是删除具有相同前缀的值。 1、void hmset(String key, Map<String, String> items); // 设置H 阅读全文
posted @ 2020-04-24 14:03 Husir_Boky 阅读(950) 评论(0) 推荐(0) 编辑
摘要: public class DeepCopyUtils { public static <T> List<T> deepCopyList(List<T> src) throws IOException, ClassNotFoundException { ByteArrayOutputStream by 阅读全文
posted @ 2020-02-04 15:51 Husir_Boky 阅读(884) 评论(0) 推荐(0) 编辑
摘要: 主从复制博文:http://lizhenliang.blog.51cto.com/7876557/1290431 读写分离博文:http://lizhenliang.blog.51cto.com/7876557/1305083 MySQL-MMM博文:http://lizhenliang.blog. 阅读全文
posted @ 2019-12-19 22:01 Husir_Boky 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 排序:Map<String,List<Map>> list_groupBy = pageList.stream().collect(Collectors.groupingBy(e->getGroupByElement(e)));排序、求和:Map<String,Integer> asset_coun 阅读全文
posted @ 2019-12-19 14:07 Husir_Boky 阅读(1628) 评论(0) 推荐(0) 编辑