Spring boot
骑虎的猎手
这个作者很懒,什么都没留下…
展开
-
Java 层级关系构建工具类
实体类Tree public class Tree { private String id; private String pId; private String name; private List<Tree> childList; public List<Tree> getChildList() { return childList; } public void setChildList(List<原创 2020-11-05 09:07:02 · 348 阅读 · 0 评论 -
pom文件 使用maven命令将项目打成可执行jar包
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apach...原创 2019-12-09 19:33:06 · 1252 阅读 · 0 评论 -
RestTemplate联调接口写法
--返回的是json串 { HttpHeaders headers = new HttpHeaders(); Map<String, Object> params = new HashMap<>(); params.put("params", psrRequestBody); HttpEntity<Map<String, Object>> formE...原创 2019-12-05 20:08:38 · 288 阅读 · 0 评论