zouxuan 5 years ago
parent
commit
c4a94f21a4

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

@@ -61,7 +61,7 @@ public class PhoneLoginAuthenticationFilter extends AbstractAuthenticationProces
 		}
 	
 		if (userInfo.getSysUser().getUserType() != SysUserType.SYSTEM && !StringUtils.equalsIgnoreCase(clientId, userInfo.getSysUser().getUserType().getCode())) {
-			throw new LockedException("登录失败");
+			throw new LockedException("用户不存在,请联系教务老师");
 		}
 
 		principal = principal.trim();