🐛 Serval bug fixes

This commit is contained in:
2025-07-25 02:00:20 +08:00
parent 7910696b27
commit f2f6b192d6
5 changed files with 13 additions and 12 deletions

View File

@@ -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;

View File

@@ -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);
}
}
}
}

View File

@@ -110,4 +110,7 @@
<data name="FortuneTipNegativeTitle_1 " xml:space="preserve">
<value>Gacha</value>
</data>
<data name="FortuneTipPositiveContent_14" xml:space="preserve">
<value />
</data>
</root>