|
@@ -135,12 +135,12 @@ public class WudaOpenApiController {
|
|
// 测试开始
|
|
// 测试开始
|
|
String testPattern = "{0}{1}{2}{3}";
|
|
String testPattern = "{0}{1}{2}{3}";
|
|
String testCode = URLEncoder.encode(MessageFormat.format(testPattern, userAuthenticationDto.getUid() + "/" + cn, SignatureEntityTest.FIELD_JOINER, SignatureEntityTest.encrypt(userAuthenticationDto.getCode())), SystemConstant.CHARSET_NAME);
|
|
String testCode = URLEncoder.encode(MessageFormat.format(testPattern, userAuthenticationDto.getUid() + "/" + cn, SignatureEntityTest.FIELD_JOINER, SignatureEntityTest.encrypt(userAuthenticationDto.getCode())), SystemConstant.CHARSET_NAME);
|
|
- log.info("test-tea-code:{}",testCode);
|
|
|
|
- log.info("test-tea-url:{}",dictionaryConfig.sysDomain().getLoginAuthenUrl() + testCode);
|
|
|
|
|
|
+ log.info("test-tea-code:{}", testCode);
|
|
|
|
+ log.info("test-tea-url:{}", dictionaryConfig.sysDomain().getLoginAuthenUrl() + testCode);
|
|
// 测试结束
|
|
// 测试结束
|
|
log.info("code:{}", code);
|
|
log.info("code:{}", code);
|
|
response.setHeader("Access-Control-Allow-Origin", "*");
|
|
response.setHeader("Access-Control-Allow-Origin", "*");
|
|
- response.sendRedirect(dictionaryConfig.sysDomain().getLoginAuthenUrl() + code);
|
|
|
|
|
|
+ response.sendRedirect(dictionaryConfig.sysDomain().getLoginAuthenUrl() + code + "/" + AppSourceEnum.WHU_THIRD);
|
|
}
|
|
}
|
|
|
|
|
|
// @ApiOperation(value = "cas用户鉴权测试接口")
|
|
// @ApiOperation(value = "cas用户鉴权测试接口")
|