diff --git a/DysonNetwork.Pass/Account/AccountEventService.cs b/DysonNetwork.Pass/Account/AccountEventService.cs index dfc9aea..79a646d 100644 --- a/DysonNetwork.Pass/Account/AccountEventService.cs +++ b/DysonNetwork.Pass/Account/AccountEventService.cs @@ -165,7 +165,7 @@ public class AccountEventService( PurgeStatusCache(user.Id); } - private const int FortuneTipCount = 7; // This will be the max index for each type (positive/negative) + private const int FortuneTipCount = 14; // This will be the max index for each type (positive/negative) private const string CaptchaCacheKey = "CheckInCaptcha_"; private const int CaptchaProbabilityPercent = 20; diff --git a/DysonNetwork.Pass/Resources/Localization/AccountEventResource.Designer.cs b/DysonNetwork.Pass/Resources/Localization/AccountEventResource.Designer.cs index 76c8ecc..ca66bdb 100644 --- a/DysonNetwork.Pass/Resources/Localization/AccountEventResource.Designer.cs +++ b/DysonNetwork.Pass/Resources/Localization/AccountEventResource.Designer.cs @@ -28,7 +28,7 @@ namespace DysonNetwork.Sphere.Resources { internal static System.Resources.ResourceManager ResourceManager { get { if (object.Equals(null, resourceMan)) { - System.Resources.ResourceManager temp = new System.Resources.ResourceManager("DysonNetwork.Sphere.Resources.AccountEventResource", typeof(AccountEventResource).Assembly); + System.Resources.ResourceManager temp = new System.Resources.ResourceManager("DysonNetwork.Pass.Resources.Localization.AccountEventResource", typeof(AccountEventResource).Assembly); resourceMan = temp; } return resourceMan; @@ -218,5 +218,11 @@ namespace DysonNetwork.Sphere.Resources { return ResourceManager.GetString("FortuneTipNegativeTitle_1 ", resourceCulture); } } + + internal static string FortuneTipPositiveContent_14 { + get { + return ResourceManager.GetString("FortuneTipPositiveContent_14", resourceCulture); + } + } } } diff --git a/DysonNetwork.Pass/Resources/Localization/AccountEventResource.resx b/DysonNetwork.Pass/Resources/Localization/AccountEventResource.resx index d6e7dc1..0e14cbb 100644 --- a/DysonNetwork.Pass/Resources/Localization/AccountEventResource.resx +++ b/DysonNetwork.Pass/Resources/Localization/AccountEventResource.resx @@ -110,4 +110,7 @@ Gacha + + + \ No newline at end of file diff --git a/DysonNetwork.Sphere/Startup/ServiceCollectionExtensions.cs b/DysonNetwork.Sphere/Startup/ServiceCollectionExtensions.cs index 5e7bca3..f7c72d7 100644 --- a/DysonNetwork.Sphere/Startup/ServiceCollectionExtensions.cs +++ b/DysonNetwork.Sphere/Startup/ServiceCollectionExtensions.cs @@ -14,10 +14,6 @@ using NodaTime.Serialization.SystemTextJson; using StackExchange.Redis; using System.Text.Json; using System.Threading.RateLimiting; -using DysonNetwork.Pass.Auth.OidcProvider.Options; -using DysonNetwork.Pass.Auth.OidcProvider.Services; -using DysonNetwork.Pass.Wallet; -using DysonNetwork.Shared.Auth; using DysonNetwork.Shared.Cache; using DysonNetwork.Shared.GeoIp; using DysonNetwork.Sphere.WebReader; @@ -164,18 +160,12 @@ public static class ServiceCollectionExtensions services.AddScoped(); services.AddScoped(); services.AddScoped(); - services.AddScoped(); - services.AddScoped(); - services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); - services.Configure(configuration.GetSection("OidcProvider")); - services.AddScoped(); - return services; } } \ No newline at end of file diff --git a/DysonNetwork.sln.DotSettings.user b/DysonNetwork.sln.DotSettings.user index 9f2fd53..2630216 100644 --- a/DysonNetwork.sln.DotSettings.user +++ b/DysonNetwork.sln.DotSettings.user @@ -45,6 +45,7 @@ ForceIncluded ForceIncluded ForceIncluded + ForceIncluded ForceIncluded ForceIncluded ForceIncluded @@ -118,6 +119,7 @@ <AssemblyExplorer> <Assembly Path="/opt/homebrew/Cellar/dotnet/9.0.6/libexec/packs/Microsoft.AspNetCore.App.Ref/9.0.6/ref/net9.0/Microsoft.AspNetCore.RateLimiting.dll" /> </AssemblyExplorer> + True False True False