lq1405 57402e0dda V1.0.4
1. 新增用户注册需要邮箱验证码
2. 机器码、软件权限控制、用户 隔离,除非超级管理员,其他用户只能看到自己下面的用户,管理员可以看到除超级管理员以外的所有
2025-03-16 23:01:50 +08:00

52 lines
1.4 KiB
C#

using LMS.Common.Enum;
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";
}
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] }
};
}