Commit c9b120a4 authored by Qingsong Li's avatar Qingsong Li

fix uk issue

parent b5409c9a
......@@ -122,7 +122,11 @@ public class BrowserTask {
Map<String, String> header = buildPostHeader();
HashMap<String, Object> map = new HashMap<>();
map.put("name", ipResource.getUsername());
map.put("region", ipResource.getRegion());
if("uk".equals(ipResource.getRegion())) {
map.put("region", "london");
} else {
map.put("region", ipResource.getRegion());
}
map.put("period", String.valueOf(ipResource.getPeriod()));
map.put("provider", ipResource.getVendor());
map.put("unit", ipResource.getUnit());
......
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