zouxuan 5 년 전
부모
커밋
17ba5688b1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mec-auth/mec-auth-server/src/main/java/com/ym/mec/auth/core/handler/BaseAuthenticationSuccessEventHandler.java

+ 2 - 2
mec-auth/mec-auth-server/src/main/java/com/ym/mec/auth/core/handler/BaseAuthenticationSuccessEventHandler.java

@@ -151,7 +151,7 @@ public class BaseAuthenticationSuccessEventHandler extends SavedRequestAwareAuth
 			}
 			map.put("tenantId", tenantId);
 
-			map.put("isLessee",false);
+			/*map.put("isLessee",false);
 			if("TEACHER".equals(clientId.toUpperCase())){
 				Integer organId = sysUserService.getTeacherOrganId(sysUser.getId());
 				if(organId != null && organId == lesseeOrganId){
@@ -161,7 +161,7 @@ public class BaseAuthenticationSuccessEventHandler extends SavedRequestAwareAuth
 				if(sysUser.getOrganId() == lesseeOrganId){
 					map.put("isLessee",true);
 				}
-			}
+			}*/
 			
 			response.setContentType("application/json; charset=utf-8");
 			HttpResponseResult result = new HttpResponseResult(true, HttpStatus.OK.value(), map, "");