...
|
...
|
@@ -9,6 +9,8 @@ import org.slf4j.Logger; |
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
import java.io.UnsupportedEncodingException;
|
|
|
import java.net.URLDecoder;
|
|
|
import java.util.concurrent.Callable;
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -87,6 +89,11 @@ public class JavaApiTask implements Callable<JavaApiStatics> { |
|
|
|
|
|
url += "/" + javaApiInfo.getApiUrl();
|
|
|
|
|
|
return url;
|
|
|
try {
|
|
|
return URLDecoder.decode(url, "UTF-8");
|
|
|
} catch (UnsupportedEncodingException e) {
|
|
|
log.warn("url decode error : {}", url);
|
|
|
return url;
|
|
|
}
|
|
|
}
|
|
|
} |
...
|
...
|
|