摘要:
简单的全局跨域配置 public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") .allowedOrigins("*") .allowedMethods("POST", "GET", "PUT", " 阅读全文
摘要:
用法 list.stream().collect(Collectors.groupingBy(entity -> entity.getParam())) eg : {type = "类型一",name = 1} {type = "类型一",name = 2} {type = "类型二",name = 阅读全文