【修改】 学生端登录考试模式返回菜单为null
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user