|
|
@@ -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); |
|
|
|