From 1d33e7433f0bb5e0f5f7fbc2f7b2d6ee551a7bd1 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Mon, 28 Aug 2023 14:43:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9IP=E5=9C=B0=E5=9D=80=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Shentun.Peis.Application/Nations/NationAppService.cs | 2 +- test/Shentun.Peis.Domain.Tests/appsettings.json | 2 +- .../EntityFrameworkCore/PeisEntityFrameworkCoreTestModule.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Shentun.Peis.Application/Nations/NationAppService.cs b/src/Shentun.Peis.Application/Nations/NationAppService.cs index 71821ec..bc7a8cd 100644 --- a/src/Shentun.Peis.Application/Nations/NationAppService.cs +++ b/src/Shentun.Peis.Application/Nations/NationAppService.cs @@ -83,8 +83,8 @@ namespace Shentun.Peis.Nations return nationDto; }).ToList(); - /* + var entlist = (await _repository.GetListAsync()).OrderBy(o => o.DisplayOrder).ToList(); if (!string.IsNullOrEmpty(input.Filter)) diff --git a/test/Shentun.Peis.Domain.Tests/appsettings.json b/test/Shentun.Peis.Domain.Tests/appsettings.json index cdeaeb0..2371a27 100644 --- a/test/Shentun.Peis.Domain.Tests/appsettings.json +++ b/test/Shentun.Peis.Domain.Tests/appsettings.json @@ -1,6 +1,6 @@ { "ConnectionStrings": { - "Default": "Host=81.70.217.145;Port=5432;Database=ShentunPeis;User ID=postgres;Password=shentun123;" + "Default": "Host=140.143.162.39;Port=5432;Database=ShentunPeis070703;User ID=postgres;Password=shentun123;" }, "OpenIddict": { "Applications": { diff --git a/test/Shentun.Peis.EntityFrameworkCore.Tests/EntityFrameworkCore/PeisEntityFrameworkCoreTestModule.cs b/test/Shentun.Peis.EntityFrameworkCore.Tests/EntityFrameworkCore/PeisEntityFrameworkCoreTestModule.cs index 8392416..8fa012c 100644 --- a/test/Shentun.Peis.EntityFrameworkCore.Tests/EntityFrameworkCore/PeisEntityFrameworkCoreTestModule.cs +++ b/test/Shentun.Peis.EntityFrameworkCore.Tests/EntityFrameworkCore/PeisEntityFrameworkCoreTestModule.cs @@ -40,7 +40,7 @@ public class PeisEntityFrameworkCoreTestModule : AbpModule } private void ConfigurePostGress(IServiceCollection services) { - string connectStr = "Host=81.70.217.145;Port=5432;Database=ShentunPeis;User ID=postgres;Password=shentun123"; + string connectStr = "Host=140.143.162.39;Port=5432;Database=ShentunPeis070703;User ID=postgres;Password=shentun123"; services.Configure(options =>