|
@@ -149,7 +149,11 @@ public class SsoApiController {
|
|
|
|
|
|
HttpServletResponse response = ServletUtil.getResponse();
|
|
HttpServletResponse response = ServletUtil.getResponse();
|
|
response.setHeader("Access-Control-Allow-Origin", "*");
|
|
response.setHeader("Access-Control-Allow-Origin", "*");
|
|
- response.sendRedirect(dictionaryConfig.sysDomain().getLoginAuthenUrl() + code + "/" + AppSourceEnum.PRINT_THIRD);
|
|
|
|
|
|
+ String loginAuthenUrl = dictionaryConfig.sysDomain().getLoginAuthenUrl();
|
|
|
|
+ if (loginAuthenUrl.contains("*")) {
|
|
|
|
+ loginAuthenUrl = loginAuthenUrl.replace("*", basicSchool.getCode());
|
|
|
|
+ }
|
|
|
|
+ response.sendRedirect(loginAuthenUrl + code + "/" + AppSourceEnum.PRINT_THIRD);
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "用户临时授权登录接口")
|
|
@ApiOperation(value = "用户临时授权登录接口")
|