|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
package com.ibeetl.jlw.web;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.lang.Assert;
|
|
|
|
|
import cn.jlw.Interceptor.RequestReferer;
|
|
|
|
|
import cn.jlw.Interceptor.SCoreUser;
|
|
|
|
|
import cn.jlw.Interceptor.TStudent;
|
|
|
|
@ -765,7 +764,6 @@ public class IndexController {
|
|
|
|
|
}
|
|
|
|
|
CoreUser user = info.getUser();
|
|
|
|
|
|
|
|
|
|
Assert.isFalse(user.isStudent(), "学生无法登录该系统!");
|
|
|
|
|
CoreOrg currentOrg = info.getOrgs().get(0);
|
|
|
|
|
for (CoreOrg org : info.getOrgs()) {
|
|
|
|
|
if (org.getId().equals(user.getOrgId())) {
|
|
|
|
|