摘要: 简单的全局跨域配置 public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") .allowedOrigins("*") .allowedMethods("POST", "GET", "PUT", " 阅读全文
posted @ 2021-12-09 17:15 DarkerbeS 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 用法 list.stream().collect(Collectors.groupingBy(entity -> entity.getParam())) eg : {type = "类型一",name = 1} {type = "类型一",name = 2} {type = "类型二",name = 阅读全文
posted @ 2021-12-09 10:55 DarkerbeS 阅读(1264) 评论(0) 推荐(0) 编辑