@@ -204,6 +204,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements
user.setIsMember(0);
passwordUtil.encryptPassword(user);
if(type == 0){
+ if(userMapper.checkUser("", "", contactMobile, type).size()>0) throw new BusinessException(new Error(ErrorConstants.CUSTOMER_ALREADY_EXIST, name,""));
UserIdentity ui = new UserIdentity();
ui.setId(identifyId);
ui.setUid(uid);