Commit 3b90dd11 authored by renjie's avatar renjie

修改shop接口

parent 5a531ac9
...@@ -59,10 +59,10 @@ public class IpResourceServiceImpl implements IpResourceService { ...@@ -59,10 +59,10 @@ public class IpResourceServiceImpl implements IpResourceService {
RestTemplate restTemplate = new RestTemplate(); RestTemplate restTemplate = new RestTemplate();
HttpHeaders header = buildHeader(); HttpHeaders header = buildHeader();
MultiValueMap<String, String> map = new LinkedMultiValueMap<>(); MultiValueMap<String, String> map = new LinkedMultiValueMap<>();
map.add("username", username); map.add("username", "superbrowser");
map.add("name", ipResourceRequestDto.getName()); map.add("name", ipResourceRequestDto.getName());
map.add("region", ipResourceRequestDto.getRegion()); map.add("region", ipResourceRequestDto.getRegion());
map.add("vendor", ipResourceRequestDto.getVendor()); map.add("provider", ipResourceRequestDto.getVendor());
map.add("unit", ipResourceRequestDto.getUnit()); map.add("unit", ipResourceRequestDto.getUnit());
map.add("amount", String.valueOf(ipResourceRequestDto.getAmount())); map.add("amount", String.valueOf(ipResourceRequestDto.getAmount()));
HttpEntity<MultiValueMap<String, String>> httpEntity = new HttpEntity<>(map, header); HttpEntity<MultiValueMap<String, String>> httpEntity = new HttpEntity<>(map, header);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment