打印日志
This commit is contained in:
parent
0b0c5c743e
commit
7749a200da
@ -138,10 +138,13 @@ public class JinqianmaoTask {
|
||||
String projectNumber = project.getProjectNumber();
|
||||
|
||||
jsonInfo.put("proId", projectNumber);
|
||||
HttpResponse httpResponse = HttpRequest.post(getUrl("getDevList",companyConfig.getUrl(),companyConfig.getAk(),companyConfig.getSecret()))
|
||||
String url = getUrl("getDevList", companyConfig.getUrl(), companyConfig.getAk(), companyConfig.getSecret());
|
||||
HttpResponse httpResponse = HttpRequest.post(url)
|
||||
.body(jsonInfo.toJSONString())
|
||||
.timeout(5 * 60 * 1000)
|
||||
.execute();
|
||||
log.info("saveJqmDev()的url:{}", url);
|
||||
log.info("saveJqmDev()的body:{}", jsonInfo.toJSONString());
|
||||
log.info("请求第三方接口getDevList响应体:{}", httpResponse);
|
||||
if (httpResponse.getStatus() == HttpStatus.HTTP_OK && httpResponse.body() != null) {
|
||||
JSONObject response = JSON.parseObject(httpResponse.body());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user