Browse Source

38088转发

tags/24080901
PoffyZhang 1 year ago
parent
commit
b1d0a69d70
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      syn-data-task/src/main/java/com/ningdatech/syndataapi/open/manage/IrsManage.java

+ 1
- 1
syn-data-task/src/main/java/com/ningdatech/syndataapi/open/manage/IrsManage.java View File

@@ -34,7 +34,7 @@ public class IrsManage {
long timestamp = System.currentTimeMillis();
String requestSecret = dto.getSecret();
String sign = CryptUtils.MD5Encode(appkey + requestSecret + timestamp);
url = url + "?requestTime=" + timestamp + "&sign=" + sign + asUrlParams(dto.getData());
url = url + "?requestTime=" + timestamp + "&sign=" + sign + "&" + asUrlParams(dto.getData());
log.info("url :{}",url);
RestTemplate restTemplate = new RestTemplate();
ResponseEntity<String> forEntity = restTemplate.getForEntity(url, String.class);


Loading…
Cancel
Save