2025-02-22 15:00:25 +08:00
|
|
|
|
|
|
|
|
|
|
using LMS.Common.Enum;
|
|
|
|
|
|
|
|
|
|
|
|
namespace LMS.Common.Dictionary;
|
2024-10-18 12:44:12 +08:00
|
|
|
|
|
|
|
|
|
|
public class AllOptions
|
|
|
|
|
|
{
|
2025-03-16 23:01:50 +08:00
|
|
|
|
|
|
|
|
|
|
public static class AllOptionKey
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 获取所有的 Option
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string All = "all";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 获取TTS相关的 Option
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string TTS = "tts";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 获取软件相关的 Option
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string Software = "software";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 软件试用相关 Option
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string Trial = "trial";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 出图相关的 Option
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string Image = "image";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 邮件设置相关 Option
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const string MailSetting = "mailSetting";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-10-18 12:44:12 +08:00
|
|
|
|
public static readonly Dictionary<string, List<string>> AllOptionsRequestQuery = new()
|
|
|
|
|
|
{
|
2025-03-16 23:01:50 +08:00
|
|
|
|
{ AllOptionKey.All, [] },
|
|
|
|
|
|
{ AllOptionKey.TTS, ["EdgeTTsRoles"] },
|
|
|
|
|
|
{ AllOptionKey.Software, ["LaitoolHomePage", "LaitoolNotice", "LaitoolUpdateContent","LaitoolVersion"]},
|
|
|
|
|
|
{ AllOptionKey.Trial , ["LaiToolTrialDays"] },
|
|
|
|
|
|
{ AllOptionKey.Image, [OptionKeyName.LaitoolFluxApiModelList] },
|
|
|
|
|
|
{ AllOptionKey.MailSetting , [OptionKeyName.SMTPMailSetting] }
|
2024-10-18 12:44:12 +08:00
|
|
|
|
};
|
|
|
|
|
|
}
|