1、陕西建龙打包版本

2、drawio导入SFC
3、多系统并存修改
This commit is contained in:
dell
2025-02-19 16:06:08 +08:00
parent 4071d8f337
commit fbc097d131
73 changed files with 3874 additions and 13074 deletions

View File

@ -38,13 +38,13 @@ namespace HT.Cloud.Code
public virtual void ConfigureServices(IServiceCollection services)
{
GlobalContext.SystemConfig = Configuration.GetSection("SystemConfig").Get<SystemConfig>();
var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT");
//没有设置环境变量就默认生产环境
if (string.IsNullOrWhiteSpace(environment))
environment = "Production";
Configuration = new ConfigurationBuilder().AddJsonFile($"appsettings.{environment}.json", optional: true, reloadOnChange: true).Build();
//var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT");
////没有设置环境变量就默认生产环境
//if (string.IsNullOrWhiteSpace(environment))
// environment = "Production";
//Configuration = new ConfigurationBuilder().AddJsonFile($"appsettings.json", optional: true, reloadOnChange: true).Build();
GlobalContext.SystemConfig = Configuration.GetSection("SystemConfig").Get<SystemConfig>();
//GlobalContext.SystemConfig = Configuration.GetSection("SystemConfig").Get<SystemConfig>();
GlobalContext.Services = services;
GlobalContext.Configuration = Configuration;
services.Configure<CookiePolicyOptions>(options =>

View File

@ -13,11 +13,14 @@ namespace HT.Cloud.Code.Model
/// 系统备注
/// </summary>
public string SystemDescription { get; set; }
/// <summary>
/// 是否是调试模式
/// </summary>
public bool Debug { get; set; }
/// <summary>
/// 系统备注
/// </summary>
public string MainPageSystemName { get; set; }
/// <summary>
/// 是否是调试模式
/// </summary>
public bool Debug { get; set; }
/// <summary>
/// 允许一个用户在多个电脑同时登录