@@ -89,7 +89,7 @@ public class TenantServiceImpl implements TenantService { | |||
@Transactional(rollbackFor = Exception.class) | |||
public JsonResult createClientTenant(CreateClientTenantDto createClientTenantDto, LoginUser loginUser) { | |||
if (clientUserMapper.judgeCreateByUserName(createClientTenantDto.getUsername()) > 0) { | |||
return JsonResult.error("该用户名称已存在!"); | |||
return JsonResult.error("该用户账号已存在!"); | |||
} | |||
createClientTenantDto.setPassword(passward); | |||
//创建租户创建成功后的返回实体类 |