From 37fc700892a509346d5be0a1af2d3de1fe8d3a9e Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 20 八月 2024 18:38:10 +0800 Subject: [PATCH] 一些更改 --- Tiger.IBusiness/Core/ApiConfig.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Tiger.IBusiness/Core/ApiConfig.cs b/Tiger.IBusiness/Core/ApiConfig.cs index a586213..3e4d6d7 100644 --- a/Tiger.IBusiness/Core/ApiConfig.cs +++ b/Tiger.IBusiness/Core/ApiConfig.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Security.AccessControl; using System.Text; namespace Tiger.IBusiness @@ -179,7 +180,7 @@ { public static IConfiguration Configuration => RheaConfig.Configuration; public static string DB_ModelAssembly => RheaConfig.DB_ModelAssembly; - public static string DefaultLanguage => Configuration["DefaultLanguage"] ?? "en"; + public static string DefaultLanguage => Configuration?["DefaultLanguage"] ?? "en-us"; public static void InitConfig(IConfiguration _configuration, Dictionary<string, Dictionary<string, string>> language) { //Init Rhea -- Gitblit v1.9.3