From 88249fcd241e109e1dfc98a42a31da6eba631abb Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Wed, 10 Jan 2024 19:33:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0SqlSugarCore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SoEasyPlatform/Models/Dal/Repository.cs | 7 ++++++- SoEasyPlatform/SoEasyPlatform.csproj | 2 +- .../obj/Debug/netcoreapp3.1/SoEasyPlatform.AssemblyInfo.cs | 2 +- .../netcoreapp3.1/SoEasyPlatform.AssemblyInfoInputs.cache | 2 +- .../netcoreapp3.1/SoEasyPlatform.RazorAssemblyInfo.cache | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/SoEasyPlatform/Models/Dal/Repository.cs b/SoEasyPlatform/Models/Dal/Repository.cs index 3e2eb236..8f1b04b0 100644 --- a/SoEasyPlatform/Models/Dal/Repository.cs +++ b/SoEasyPlatform/Models/Dal/Repository.cs @@ -48,7 +48,12 @@ public static SqlSugarClient GetInstance(DbType type,string connection) DbType = type, InitKeyType = InitKeyType.Attribute, IsAutoCloseConnection = true, - ConnectionString = connection + ConnectionString = connection + }, db => { + db.Aop.OnLogExecuting = (s, p) => + { + Console.WriteLine(s); + }; }); } } diff --git a/SoEasyPlatform/SoEasyPlatform.csproj b/SoEasyPlatform/SoEasyPlatform.csproj index fe5415f1..0426fdec 100644 --- a/SoEasyPlatform/SoEasyPlatform.csproj +++ b/SoEasyPlatform/SoEasyPlatform.csproj @@ -149,7 +149,7 @@ - + diff --git a/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.AssemblyInfo.cs b/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.AssemblyInfo.cs index cae0acd4..cf549f15 100644 --- a/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.AssemblyInfo.cs +++ b/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.AssemblyInfo.cs @@ -15,7 +15,7 @@ [assembly: System.Reflection.AssemblyCompanyAttribute("SoEasyPlatform")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+eb7f38223922b253bdfee660d355d75aa0e28bcc")] [assembly: System.Reflection.AssemblyProductAttribute("SoEasyPlatform")] [assembly: System.Reflection.AssemblyTitleAttribute("SoEasyPlatform")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.AssemblyInfoInputs.cache b/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.AssemblyInfoInputs.cache index 9789579a..128a2af3 100644 --- a/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.AssemblyInfoInputs.cache +++ b/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.AssemblyInfoInputs.cache @@ -1 +1 @@ -2ee8e0c6d8e6e60bd08bce05b2ccf5cf693364c2 +41df425df40732f312b80a0dafdb7ffeef42292481ff7755525c569a088a34d1 diff --git a/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.RazorAssemblyInfo.cache b/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.RazorAssemblyInfo.cache index 1d58942b..229a0f34 100644 --- a/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.RazorAssemblyInfo.cache +++ b/SoEasyPlatform/obj/Debug/netcoreapp3.1/SoEasyPlatform.RazorAssemblyInfo.cache @@ -1 +1 @@ -55ed3b8b73c85f29dc924e92284e56d6e85de9d9 +f258a7ec07f76c1fde49e54ef8d509478774b07878d66a4d6b2c586dc1a9263a From b3e36a326c89fcdcd3114d01ec21b490e2774cb4 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Wed, 10 Jan 2024 19:34:36 +0800 Subject: [PATCH 2/2] 1.5.7 --- SoEasyPlatform/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoEasyPlatform/Startup.cs b/SoEasyPlatform/Startup.cs index bfcd2ac1..0fc8ab7e 100644 --- a/SoEasyPlatform/Startup.cs +++ b/SoEasyPlatform/Startup.cs @@ -25,7 +25,7 @@ public class Startup /// /// 版本号 /// - public static string Version = "1.5.6"; + public static string Version = "1.5.7"; /// /// 接口域名目录 ///