|
@@ -95,10 +95,9 @@ public class OpenApiController {
|
|
|
if (Objects.isNull(teachcloudLoginUrl) || Objects.equals(teachcloudLoginUrl, "")) {
|
|
|
throw ExceptionResultEnum.PARAMS_ERROR.exception("知学登录跳转地址不存在");
|
|
|
}
|
|
|
- String[] strs = teachcloudLoginUrl.split("#");
|
|
|
+ String[] strs = teachcloudLoginUrl.split(SystemConstant.PATH_MATCH);
|
|
|
if (strs[0].contains(SystemConstant.PATH_MATCH)) {
|
|
|
strs[0] = strs[0].replace(SystemConstant.PATH_MATCH, SCHOOL_CODE);
|
|
|
- strs[0] = strs[0].substring(0, strs[0].length() - 1);
|
|
|
}
|
|
|
QueryWrapper<BasicSchool> basicSchoolQueryWrapper = new QueryWrapper<>();
|
|
|
basicSchoolQueryWrapper.lambda().eq(BasicSchool::getCode, SCHOOL_CODE);
|