2025-03-24 16:53:32 +08:00
|
|
|
|
using LMS.Common.Enums;
|
2025-02-23 21:06:25 +08:00
|
|
|
|
|
|
|
|
|
|
namespace LMS.Common.Dictionary;
|
2024-10-18 12:44:12 +08:00
|
|
|
|
|
|
|
|
|
|
public class SimpleOptions
|
|
|
|
|
|
{
|
2025-03-16 23:01:50 +08:00
|
|
|
|
|
|
|
|
|
|
public static class SimpleOptionKey
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// TTS的角色Option
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string Ttsrole = "ttsrole";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// LaiTool信息相关的配置
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string Laitoolinfo = "laitoolinfo";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// LaiTool FluxAPI对应的模型信息
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string LaitoolFluxApiModelList = "LaitoolFluxApiModelList";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否开启邮箱信息
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string EnableMailService = "EnableMailService";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-10-18 12:44:12 +08:00
|
|
|
|
public static readonly Dictionary<string, List<string>> SimpleOptionsRequestQuery = new()
|
|
|
|
|
|
{
|
2025-03-16 23:01:50 +08:00
|
|
|
|
{ SimpleOptionKey.Ttsrole, ["EdgeTTsRoles"] },
|
|
|
|
|
|
{ SimpleOptionKey.Laitoolinfo, ["LaitoolHomePage", "LaitoolNotice", "LaitoolUpdateContent", "LaitoolVersion"] },
|
|
|
|
|
|
{ SimpleOptionKey.LaitoolFluxApiModelList, [OptionKeyName.LaitoolFluxApiModelList] },
|
|
|
|
|
|
{ SimpleOptionKey.EnableMailService, [OptionKeyName.EnableMailService]}
|
2024-10-18 12:44:12 +08:00
|
|
|
|
};
|
2024-10-30 15:34:18 +08:00
|
|
|
|
}
|