zouxuan 5 years ago
parent
commit
17ba5688b1

+ 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, "");