lq1405 a37c40a2ef V1.0.6
添加重置用户每月的免费换绑次数
优化项目结构
2025-03-24 16:53:32 +08:00

57 lines
1.6 KiB
C#

using LMS.Common.Enums;
namespace LMS.Common.Dictionary;
public class AllOptions
{
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";
/// <summary>
/// 重置免费次数相关的 Option
/// </summary>
public const string ResetFreeCount = "resetFreeCount";
}
public static readonly Dictionary<string, List<string>> AllOptionsRequestQuery = new()
{
{ AllOptionKey.All, [] },
{ AllOptionKey.TTS, ["EdgeTTsRoles"] },
{ AllOptionKey.Software, ["LaitoolHomePage", "LaitoolNotice", "LaitoolUpdateContent","LaitoolVersion"]},
{ AllOptionKey.Trial , ["LaiToolTrialDays"] },
{ AllOptionKey.Image, [OptionKeyName.LaitoolFluxApiModelList] },
{ AllOptionKey.MailSetting , [OptionKeyName.SMTPMailSetting] },
{ AllOptionKey.ResetFreeCount, [OptionKeyName.ResetFreeCountSetting] }
};
}