From 6d97c9dfd51e148ba2f97114f18889871c278fa6 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期五, 03 一月 2025 16:38:55 +0800 Subject: [PATCH] 化成空托回流请求MoM接口改动 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/SqlSugarHelper.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/SqlSugarHelper.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/SqlSugarHelper.cs index 48abb76..7ab5c6c 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/SqlSugarHelper.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/SqlSugarHelper.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using WIDESEA_Core.Seed; namespace WIDESEA_Core.Helper { @@ -15,7 +16,7 @@ //鐢ㄥ崟渚嬫ā寮� public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig() { - ConnectionString = "Data Source=.;Initial Catalog=WIDESEAWCS_TEST;User ID=sa;Password=P@ssw0rd;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",//杩炴帴绗﹀瓧涓� + ConnectionString = DBContext.GetMainConnectionDb().Connection, DbType = DbType.SqlServer,//鏁版嵁搴撶被鍨� IsAutoCloseConnection = true //涓嶈鎴恡rue瑕佹墜鍔╟lose }, -- Gitblit v1.9.3