feat:支持双开关切换

This commit is contained in:
橙子
2024-12-26 21:57:27 +08:00
parent f0093499d1
commit ffb329a0d9
2 changed files with 16 additions and 2 deletions

View File

@@ -34,6 +34,11 @@ public class CollectiblesService : ApplicationService
{
return LazyServiceProvider.LazyGetRequiredService<IConfiguration>().GetValue<bool>("IsEnableCollectibles");
}
public bool GetEnable2()
{
return LazyServiceProvider.LazyGetRequiredService<IConfiguration>().GetValue<bool>("IsEnableCollectibles2");
}
/// <summary>
/// 获取该用户的信息