Преглед изворни кода

转发IRS 刷新密钥

tags/24080901
PoffyZhang пре 1 година
родитељ
комит
c8e67975c5
7 измењених фајлова са 13 додато и 14 уклоњено
  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 Прегледај датотеку

@@ -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 Прегледај датотеку

@@ -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 Прегледај датотеку

@@ -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 Прегледај датотеку

@@ -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 Прегледај датотеку

@@ -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 Прегледај датотеку

@@ -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 Прегледај датотеку

@@ -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}


Loading…
Откажи
Сачувај