摘要:
需要依赖 immutable,用于group by分组 buildTree 为入口方法,注意返回的是Immutable.List对象,使用需要调用.toJS()方法转为普通对象 其中 creatNode方法为构建节点对象,可根据自己需求动态修改该方法 import Immutable, { List 阅读全文
摘要:
一、模拟http请求测试接口 新建一个controller @RestController public class AATestController { @GetMapping("/test") public String test(@RequestParam("msg") String msg) 阅读全文
摘要:
docker一键启动命令 sh auto.sh [start|restart|stop] [keywords...] keywords可选(包含编号,镜像名,容器名称,端口) 其中defaultList为默认列表,不使用keywords时执行此列表 #!/bin/bashdefaultList=(r 阅读全文
摘要:
第一步:pom文件引入相关文件 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <version>${spring.boot.vers 阅读全文