zouxuan há 3 anos atrás
pai
commit
5913abde69

+ 2 - 2
mec-auth/mec-auth-server/src/main/java/com/ym/mec/auth/core/filter/PhoneLoginAuthenticationFilter.java

@@ -52,7 +52,7 @@ public class PhoneLoginAuthenticationFilter extends AbstractAuthenticationProces
 		// 是否是租户
 		String isLessee = obtainParameter(request, IS_LESSEE);
 		
-		String tenantId = obtainParameter(request, TENANT_ID);
+//		String tenantId = obtainParameter(request, TENANT_ID);
 		
 		String organId = obtainParameter(request, ORGAN_ID);
 
@@ -75,7 +75,7 @@ public class PhoneLoginAuthenticationFilter extends AbstractAuthenticationProces
 		loginEntity.setIsRegister(isRegister);
 		loginEntity.setDeviceNum(deviceNum);
 		loginEntity.setOrganId(organId);
-		loginEntity.setTenantId(Integer.parseInt(tenantId));
+//		loginEntity.setTenantId(Integer.parseInt(tenantId));
 
 		authRequest = new PhoneAuthenticationToken(SecurityConstants.PHONE_PRINCIPAL_PREFIX + principal, loginEntity);