Authored by FengRuwei

up

... ... @@ -46,8 +46,8 @@ public class JavaApiTask implements Callable<JavaApiStatics> {
if (javaApiInfo.getApiReqMethod() == 0) {
jsonRep = restTemplate.getForObject(url, JSONObject.class);
} else {
JSONObject req = JSONObject.parse(javaApiInfo.getApiData(),JSONObject.class);
jsonRep = restTemplate.postForObject(url, req, JSONObject.class);
// JSONObject req = JSONObject.parse(javaApiInfo.getApiData(),JSONObject.class);
// jsonRep = restTemplate.postForObject(url, req, JSONObject.class);
}
} catch (Exception e) {
... ...