You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.4 KiB
C#

namespace NPin.Framework.Upms.Domain.Shared.Consts;
public class ConfigKeyConst
{
/// <summary>
/// 系统配置前缀
/// </summary>
public const string SysConfigPrefix = "sys";
/// <summary>
/// 系统设置
/// </summary>
public const string SysSettingKey = "setting";
public const string SysSettingPrefix = $"{SysConfigPrefix}.{SysSettingKey}";
public const string SysSettingDataSeed = $"{SysSettingPrefix}.ds";
public const string SysDefaultAdminPassword = $"{SysSettingPrefix}.adminPass";
public const string SysDefaultTenantAdminPassword = $"{SysSettingPrefix}.tenantAdminPass";
public const string SysEnableCaptcha = $"{SysSettingPrefix}.enableCaptcha";
public const string SysEnableRegister = $"{SysSettingPrefix}.enableRegister";
public const string SysEnableDataBaseBackup = $"{SysSettingPrefix}.enableDataBaseBackup";
/// <summary>
/// 短信配置相关
/// </summary>
public const string SmsConfigKey = "sms";
public const string SmsConfigPrefix = $"{SysConfigPrefix}.{SmsConfigKey}";
public const string SmsConfigDataSeed = $"{SmsConfigPrefix}.ds";
public const string SmsProviders = $"{SmsConfigPrefix}.providers";
public const string SmsTemplates = $"{SmsConfigPrefix}.templates";
public const string SmsSettings = $"{SmsConfigPrefix}.settings";
public const string SmsConfigModel = $"{SmsConfigPrefix}.config";
}