MultiValueMap<String, String> headers = new HttpHeaders(); headers.add("header-1", "V1"); headers.add("header -2", "Spring"); headers.add("header-2", "SpringBoot"); //②:RequestEntity:请求实体,请求的所有信息都可以放在RequestEntity System.out.println(result); } 输出 {accept=[application/json, application/*+json], header-1=[V1], header -2", "Spring"); headers.add("header-2", "SpringBoot"); //②:url中的2个参数 Map<String, String> ); } 输出 {path1=v1, path2=v2, header={accept=[application/json, application/*+json], header-1=[V1], header
login{ float:left; } .sc{ float:right;} .logo{ width:50%; height:auto; float:left; margin-top:10px;} .header