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