diff --git a/iot-module/iot-system/src/main/java/cc/iotkit/system/service/impl/SysUserServiceImpl.java b/iot-module/iot-system/src/main/java/cc/iotkit/system/service/impl/SysUserServiceImpl.java index 7a0930cd..218716d0 100644 --- a/iot-module/iot-system/src/main/java/cc/iotkit/system/service/impl/SysUserServiceImpl.java +++ b/iot-module/iot-system/src/main/java/cc/iotkit/system/service/impl/SysUserServiceImpl.java @@ -117,13 +117,13 @@ public class SysUserServiceImpl implements ISysUserService, UserService { @Override public boolean checkPhoneUnique(SysUserBo user) { boolean exist = sysUserData.checkPhoneUnique(user.to(SysUser.class)); - return !exist; + return exist; } @Override public boolean checkEmailUnique(SysUserBo user) { boolean exist = sysUserData.checkEmailUnique(user.to(SysUser.class)); - return !exist; + return exist; } @Override