【修改】 判断学生端登录方式忽略租户

This commit is contained in:
DESKTOP-932OMT8\REN
2025-06-13 21:23:48 +08:00
parent 2e50a29dcb
commit e9c7a2003f
2 changed files with 3 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import pc.exam.pp.framework.common.enums.UserTypeEnum;
import pc.exam.pp.framework.common.pojo.CommonResult;
import pc.exam.pp.framework.security.config.SecurityProperties;
import pc.exam.pp.framework.security.core.util.SecurityFrameworkUtils;
import pc.exam.pp.framework.tenant.core.aop.TenantIgnore;
import pc.exam.pp.module.infra.dal.dataobject.config.ConfigDO;
import pc.exam.pp.module.infra.service.config.ConfigService;
import pc.exam.pp.module.system.controller.admin.auth.vo.*;
@@ -74,6 +75,7 @@ public class AuthController {
@GetMapping("/login_config")
@PermitAll
@TenantIgnore
@Operation(summary = "学生端判断学生的登录方式")
public CommonResult<ConfigDO> getLoginConfigDO() {
// 在判断学生的登录方式

View File

@@ -293,6 +293,7 @@ exam:
- /jmreport/* # 积木报表,无法携带租户编号
- /admin-api/mp/open/** # 微信公众号开放平台,微信回调接口,无法携带租户编号
- /admin-api/exam/app/getAppCheckList # 学生端环境监测
- /admin-api/system/auth/login_config # 学生端判断学生的登录方式
ignore-tables:
- exam_tenant_specialty
- exam_specialty