Quellcode durchsuchen

转发IRS 刷新密钥

master
PoffyZhang vor 1 Jahr
Ursprung
Commit
c8e67975c5
7 geänderte Dateien mit 13 neuen und 14 gelöschten Zeilen
  1. +2
    -2
      pmapi/src/main/resources/application-dev.yml
  2. +2
    -2
      pmapi/src/main/resources/application-pre.yml
  3. +2
    -2
      pmapi/src/main/resources/application-prod.yml
  4. +1
    -2
      pmapi/src/test/java/com/ningdatech/pmapi/irs/irsTest4.java
  5. +2
    -2
      pmapi/src/test/resources/application-dev.yml
  6. +2
    -2
      pmapi/src/test/resources/application-pre.yml
  7. +2
    -2
      pmapi/src/test/resources/application-prod.yml

+ 2
- 2
pmapi/src/main/resources/application-dev.yml Datei anzeigen

@@ -223,8 +223,8 @@ irs:
appKey: A331101453557202109017383
interface-refresh:
method: POST
request-token-url: http://59.202.38.178/gateway/app/refreshTokenByKey.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
refresh-token-url: http://59.202.38.178/gateway/app/refreshTokenBySec.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
request-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenByKey.htm
refresh-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenBySec.htm
interface-local-refresh:
method: GET
request-token-url: https://interface.ls.local/a/api/requestTokenKey?appKey={appKey}&requestTime={requestTime}&sign={sign}


+ 2
- 2
pmapi/src/main/resources/application-pre.yml Datei anzeigen

@@ -226,8 +226,8 @@ irs:
appKey: A331101453557202109017383
interface-refresh:
method: POST
request-token-url: http://59.202.38.178/gateway/app/refreshTokenByKey.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
refresh-token-url: http://59.202.38.178/gateway/app/refreshTokenBySec.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
request-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenByKey.htm
refresh-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenBySec.htm
interface-local-refresh:
method: GET
request-token-url: https://interface.ls.local/a/api/requestTokenKey?appKey={appKey}&requestTime={requestTime}&sign={sign}


+ 2
- 2
pmapi/src/main/resources/application-prod.yml Datei anzeigen

@@ -226,8 +226,8 @@ irs:
appKey: A331101453557202109017383
interface-refresh:
method: POST
request-token-url: http://59.202.38.178/gateway/app/refreshTokenByKey.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
refresh-token-url: http://59.202.38.178/gateway/app/refreshTokenBySec.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
request-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenByKey.htm
refresh-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenBySec.htm
interface-local-refresh:
method: GET
request-token-url: https://interface.ls.local/a/api/requestTokenKey?appKey={appKey}&requestTime={requestTime}&sign={sign}


+ 1
- 2
pmapi/src/test/java/com/ningdatech/pmapi/irs/irsTest4.java Datei anzeigen

@@ -39,8 +39,7 @@ public class irsTest4 extends AppTests {
String appKey = "A331101453557202109017383";
String dataName = "大数据管理局";

String secret = refreshTokenService.refreshToken(appKey, appSecret, govRequestTokenUrl, govRefreshTokenUrl,
"Fc3re2cq7r64Qfa7", HttpMethod.POST.name());
String secret = refreshTokenService.refreshToken(appKey, appSecret, govRequestTokenUrl, govRefreshTokenUrl, HttpMethod.POST.name());
String sign = CryptUtils.MD5Encode(appKey + secret + timestamp);
HttpComponentsClientHttpRequestFactory factory = HttpUtil.generateHttpRequestFactory();
RestTemplate restTemplate;


+ 2
- 2
pmapi/src/test/resources/application-dev.yml Datei anzeigen

@@ -223,8 +223,8 @@ irs:
appKey: A331101453557202109017383
interface-refresh:
method: POST
request-token-url: http://59.202.38.178/gateway/app/refreshTokenByKey.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
refresh-token-url: http://59.202.38.178/gateway/app/refreshTokenBySec.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
request-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenByKey.htm
refresh-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenBySec.htm
interface-local-refresh:
method: GET
request-token-url: https://interface.ls.local/a/api/requestTokenKey?appKey={appKey}&requestTime={requestTime}&sign={sign}


+ 2
- 2
pmapi/src/test/resources/application-pre.yml Datei anzeigen

@@ -226,8 +226,8 @@ irs:
appKey: A331101453557202109017383
interface-refresh:
method: POST
request-token-url: http://59.202.38.178/gateway/app/refreshTokenByKey.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
refresh-token-url: http://59.202.38.178/gateway/app/refreshTokenBySec.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
request-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenByKey.htm
refresh-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenBySec.htm
interface-local-refresh:
method: GET
request-token-url: https://interface.ls.local/a/api/requestTokenKey?appKey={appKey}&requestTime={requestTime}&sign={sign}


+ 2
- 2
pmapi/src/test/resources/application-prod.yml Datei anzeigen

@@ -226,8 +226,8 @@ irs:
appKey: A331101453557202109017383
interface-refresh:
method: POST
request-token-url: http://59.202.38.178/gateway/app/refreshTokenByKey.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
refresh-token-url: http://59.202.38.178/gateway/app/refreshTokenBySec.htm?appKey={appKey}&requestTime={requestTime}&sign={sign}
request-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenByKey.htm
refresh-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenBySec.htm
interface-local-refresh:
method: GET
request-token-url: https://interface.ls.local/a/api/requestTokenKey?appKey={appKey}&requestTime={requestTime}&sign={sign}


Laden…
Abbrechen
Speichern