From ea882c1741812b0783b2924548cb9e8c638a1be9 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期二, 24 十二月 2024 13:50:36 +0800
Subject: [PATCH] 修改资产--弯头

---
 Service/HStation.Service.Assets.Core/00-core/ConfigHelper.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/00-core/ConfigHelper.cs b/Service/HStation.Service.Assets.Core/00-core/ConfigHelper.cs
index 9f4fa11..d0ac06f 100644
--- a/Service/HStation.Service.Assets.Core/00-core/ConfigHelper.cs
+++ b/Service/HStation.Service.Assets.Core/00-core/ConfigHelper.cs
@@ -10,7 +10,7 @@
             get
             {
                 ConnectionConfig connectConfig = null;
-                switch (XhsParasHelper.Xhs.DataBase.DbType)
+                switch (AssetsParasHelper.Assets.DataBase.DbType)
                 {
                     case DbType.PostgreSql:
                         {
@@ -41,7 +41,7 @@
                 return new ConnectionConfig()
                 {
                     DbType = SqlSugar.DbType.PostgreSQL,//鏁版嵁搴撶被鍨�
-                    ConnectionString = XhsParasHelper.Xhs.DataBase.PostgreSql.ConnectString,
+                    ConnectionString = HStation.Settings.AssetsParasHelper.Assets.DataBase.PostgreSql.ConnectString,
                     IsAutoCloseConnection = true,//鏄惁鑷姩鍏抽棴
                     MoreSettings = new ConnMoreSettings()
                     {
@@ -71,7 +71,7 @@
                 return new ConnectionConfig()
                 {
                     DbType = SqlSugar.DbType.Sqlite,//鏁版嵁搴撶被鍨�
-                    ConnectionString = XhsParasHelper.Xhs.DataBase.SQLite.ConnectString,
+                    ConnectionString = AssetsParasHelper.Assets.DataBase.SQLite.ConnectString,
                     IsAutoCloseConnection = true,//鏄惁鑷姩鍏抽棴
                     MoreSettings = new ConnMoreSettings()
                     {

--
Gitblit v1.9.3