随笔分类 - Java
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
阅读全文
摘要:当前端发ajax请求给后端,数据如下 data:{ ids:[7591,876], age:1, rows:10000, jsonpCallback:"volunterListData3" } 观察浏览器开发者工具network中实际参数是: ids变成了ids[],事与愿违,需要在ajax请求中添
阅读全文
摘要:int[] arr=new int[]{5,1,3,4,1}; //若统计的是int数组,先转化为List List<Integer> list= Arrays.stream(arr).boxed().collect(Collectors.toList()); //groupingBy分组 Map<
阅读全文
摘要:1.去除Springboot内嵌Tomcat依赖 1 <dependency> 2 <groupId>org.springframework.boot</groupId> 3 <artifactId>spring-boot-starter-web</artifactId> 4 <exclusions
阅读全文
摘要:1.SpringBoot AOP的Maven依赖: 1 <!--引入AOP依赖 --> 2 <dependency> 3 <groupId>org.springframework.boot</groupId> 4 <artifactId>spring-boot-starter-aop</artifa
阅读全文