Commit 8ef0a0d3 by 丁伟峰

fix: 请求内容格式

1 parent fd1ea2bd
......@@ -137,7 +137,7 @@ public class CapacityQueryServiceImpl implements CapacityQueryService {
// 设置请求头
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_JSON);
headers.setContentType(MediaType.APPLICATION_FORM_URLENCODED);
// 构建请求参数
String url;
......@@ -152,7 +152,7 @@ public class CapacityQueryServiceImpl implements CapacityQueryService {
}
params.add("need_district", "false");
params.add("need_layer", "true");
params.add("related_point_fields", "");
// params.add("related_point_fields", "");
params.add("area_fields", "名称,唯一编号");
log.info("request params ==> {}", params);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!