|
@@ -59,10 +59,10 @@ public class UserAuthenticationFacade extends UserAuthenticationServiceImpl {
|
|
|
}
|
|
|
|
|
|
if (user.getAuthStatus().equals(AuthStatusEnum.Authorized.getKey())) {
|
|
|
- throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
|
+ throw new CommonException(CommonErrorCode.IS_EXISTS,
|
|
|
"用户【" + user.getUsername() + "】已认证,不允许重复认证");
|
|
|
} else if (user.getAuthStatus().equals(AuthStatusEnum.Authorizing.getKey())) {
|
|
|
- throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
|
+ throw new CommonException(CommonErrorCode.IS_EXISTS,
|
|
|
"认证申请已提交,无需重复提交");
|
|
|
}
|
|
|
|