【修改】 学生端登录考试模式返回菜单为null

This commit is contained in:
RENWEIBING\letre
2025-04-27 22:36:52 +08:00
parent e790be81f9
commit 1a4fd9877b

View File

@@ -138,7 +138,7 @@ public class AuthController {
// 1.4 判断是否为学生,并且是否为考试模式
if (user.getUserType().equals("2")) {
// 获取考试模式数据
ConfigDO config = configService.getConfigByKey("student_login");
ConfigDO config = configService.getConfigByKey("exam_model");
if (config.getValue().equals("0")) {
// 考试模式菜单返回为空
menuList = null;