|
|
@@ -143,7 +143,6 @@ public class DingInfoPullController { |
|
|
|
long timestamp = System.currentTimeMillis(); |
|
|
|
String appSecret = "496f0f2a19994f76b4fd9dae087366c7"; |
|
|
|
String appKey = "A331101453557202109017383"; |
|
|
|
String dataName = "大数据管理局"; |
|
|
|
String method = "POST"; |
|
|
|
String secret = refreshTokenService.refreshToken(appKey,appSecret,govRequestTokenUrl,govRefreshTokenUrl,method); |
|
|
|
String sign = CryptUtils.MD5Encode(appKey + secret + timestamp); |
|
|
@@ -160,7 +159,7 @@ public class DingInfoPullController { |
|
|
|
String url = "https://interface.zjzwfw.gov.cn/gateway/api/proxy/001003001029/" + |
|
|
|
"dataSharing/5crv7i4727abLCv0.htm?requestTime=" + timestamp + |
|
|
|
"&sign=" + sign + "&appKey=" + appKey + |
|
|
|
"&capCode=abc&appId=abc&capTime=" + timestamp + |
|
|
|
"&capCode=" + capCode + "&capTime=" + timestamp + |
|
|
|
"&appId=" + appId + "&updateTime=" + updateTime; |
|
|
|
log.info("url :{}",url); |
|
|
|
ResponseEntity<String> forEntity = restTemplate.getForEntity(url, String.class); |
|
|
|