From e0de4b68dfaf84dd2f4722e25e5747c560df5601 Mon Sep 17 00:00:00 2001 From: liuwf Date: Fri, 1 Nov 2024 17:37:52 +0800 Subject: [PATCH] =?UTF-8?q?change-=E6=B7=BB=E5=8A=A0=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E8=BF=9E=E6=8E=A5=E8=B6=85=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SlnMesnac.Extensions/SqlsugarSetup.cs | 1 + SlnMesnac.WPF/appsettings.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SlnMesnac.Extensions/SqlsugarSetup.cs b/SlnMesnac.Extensions/SqlsugarSetup.cs index 5a5c1b7..ce943bc 100644 --- a/SlnMesnac.Extensions/SqlsugarSetup.cs +++ b/SlnMesnac.Extensions/SqlsugarSetup.cs @@ -61,6 +61,7 @@ namespace SlnMesnac.Extensions ConnectionString = item.connStr, InitKeyType = InitKeyType.Attribute, IsAutoCloseConnection = true, + }; connectConfigList.Add(config); } diff --git a/SlnMesnac.WPF/appsettings.json b/SlnMesnac.WPF/appsettings.json index 42bd0dc..df0b546 100644 --- a/SlnMesnac.WPF/appsettings.json +++ b/SlnMesnac.WPF/appsettings.json @@ -15,7 +15,7 @@ "configId": "mes", "dbType": 0, // "connStr": "Data Source=175.27.215.92;Port=3306;Initial Catalog=hwjy-cloud;uid=root;pwd=haiwei@123;Charset=utf8mb4;SslMode=none" - "connStr": "Data Source=172.16.12.100;Port=3306;Initial Catalog=hwjy-cloud;uid=root;pwd=JyhbRk@123456;Charset=utf8mb4;SslMode=none" + "connStr": "Data Source=172.16.12.100;Port=3306;Initial Catalog=hwjy-cloud;uid=root;pwd=JyhbRk@123456;Charset=utf8mb4;SslMode=none;Connect Timeout=100" }, { "configId": "local",