From 5df97aac15a58c07a7251d69f2e0acdb02c6b483 Mon Sep 17 00:00:00 2001 From: colin Date: Fri, 23 Aug 2024 17:16:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(saas):=20=E4=BF=AE=E6=94=B9=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E5=AD=97=E7=AC=A6=E4=B8=B2=E6=97=B6=E5=BA=94=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E6=9C=89=E6=95=88=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LINGYUN/Abp/Saas/Tenants/TenantAppService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aspnet-core/modules/saas/LINGYUN.Abp.Saas.Application/LINGYUN/Abp/Saas/Tenants/TenantAppService.cs b/aspnet-core/modules/saas/LINGYUN.Abp.Saas.Application/LINGYUN/Abp/Saas/Tenants/TenantAppService.cs index 680622be9..b5564d8fa 100644 --- a/aspnet-core/modules/saas/LINGYUN.Abp.Saas.Application/LINGYUN/Abp/Saas/Tenants/TenantAppService.cs +++ b/aspnet-core/modules/saas/LINGYUN.Abp.Saas.Application/LINGYUN/Abp/Saas/Tenants/TenantAppService.cs @@ -213,6 +213,8 @@ public async virtual Task> GetConnectio [Authorize(AbpSaasPermissions.Tenants.ManageConnectionStrings)] public async virtual Task SetConnectionStringAsync(Guid id, TenantConnectionStringCreateOrUpdate input) { + await CheckConnectionString(input.Value, input.Name); + var tenant = await TenantRepository.GetAsync(id); var oldConnectionString = tenant.FindConnectionString(input.Name);