|
|
@@ -360,7 +360,7 @@ public class AppIrsManage { |
|
|
|
return forEntity.getBody(); |
|
|
|
} |
|
|
|
|
|
|
|
public JSONObject getDigitalResourceIndicatorsByAppCode(String appCode) { |
|
|
|
public JSONObject getDigitalResourceIndicatorsByAppCode(String appCode, Integer pageSize) { |
|
|
|
long timestamp = System.currentTimeMillis(); |
|
|
|
String appSecret = driAppSecret; |
|
|
|
String appKey = driAppKey; |
|
|
@@ -379,7 +379,7 @@ public class AppIrsManage { |
|
|
|
|
|
|
|
String url = driUrl + "?" + |
|
|
|
"requestTime=" + timestamp + "&sign=" + sign + |
|
|
|
"&appKey=" + appKey + "&appCode=" + appCode; |
|
|
|
"&appKey=" + appKey + "&appCode=" + appCode + "&pageIndex=1&pageSize=" + pageSize; |
|
|
|
log.info("url :{}", url); |
|
|
|
ResponseEntity<JSONObject> forEntity = restTemplate.getForEntity(url, JSONObject.class); |
|
|
|
log.info(Objects.requireNonNull(forEntity.getBody()).toJSONString()); |
|
|
|