F2-F7: نوتیفیکیشنها+نامپکیج، ستون پکیج در CSV، مقادیر داینامیک کیفپول جادویی، ولیدیتور SystemConstants
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m29s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m29s
F2: اضافه شدن packageName به SmsTemplates، IUserNotificationService، UserNotificationService
- DayaLoan، ClubActivated، CommissionDeposited حالا نام پکیج را نشان میدهند
F4: اضافه شدن ستون پکیج به CSV خروجیها
- commission.proto: package_name در WithdrawalRequestModel
- manualpayment.proto: package_name در ManualPaymentModel
- کوئریهندلرها UserPackagePurchases لوکاپ اضافه شد
F6: مقادیر داینامیک کیفپول جادویی از پکیج
- userwallet.proto: magic_multiplier + magic_max_credit
- UserWalletService: پاپیولیت فیلدهای جدید + فالبک به SystemConstants
F7: ولیدیتورها از SystemConstants استفاده میکنند
- WalletMaxSafeAmount (10B ریال) به عنوان حصار ایمنی
- MagicWalletMinCharge، DiscountWalletMinCharge ثابتهای مرکزی
- سقف واقعی per-package در هندلرها اعمال میشود
Proto: v0.0.189
This commit is contained in:
@@ -66,6 +66,41 @@ public static class SystemConstants
|
||||
/// </summary>
|
||||
public const long MagicWalletEntryThreshold = 1_000_000;
|
||||
|
||||
/// <summary>
|
||||
/// مقدار پیشفرض ضریب جادویی وقتی پکیج یافت نشود (بازگشت به پایه)
|
||||
/// </summary>
|
||||
public const double MagicWalletDefaultMultiplier = 2.5;
|
||||
|
||||
/// <summary>
|
||||
/// مقدار پیشفرض حداکثر واریز جادویی وقتی پکیج یافت نشود (ریال)
|
||||
/// </summary>
|
||||
public const long MagicWalletDefaultMaxDeposit = 1_000_000_000;
|
||||
|
||||
/// <summary>
|
||||
/// مقدار پیشفرض حداکثر اعتبار جادویی وقتی پکیج یافت نشود (ریال)
|
||||
/// </summary>
|
||||
public const long MagicWalletDefaultMaxCredit = 2_500_000_000;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Wallet Validation Settings
|
||||
|
||||
/// <summary>
|
||||
/// حداکثر مبلغ مجاز در ولیدیتور (حصار ایمنی — مقدار واقعی از پکیج خوانده میشود).
|
||||
/// ۱۰ میلیارد ریال = ۱ میلیارد تومان
|
||||
/// </summary>
|
||||
public const long WalletMaxSafeAmount = 10_000_000_000;
|
||||
|
||||
/// <summary>
|
||||
/// حداقل مبلغ شارژ جادویی (ریال) — ۱۰۰٬۰۰۰ ریال = ۱۰ هزار تومان
|
||||
/// </summary>
|
||||
public const long MagicWalletMinCharge = 100_000;
|
||||
|
||||
/// <summary>
|
||||
/// حداقل مبلغ شارژ تخفیفی (ریال) — ۱۰٬۰۰۰ ریال = ۱ هزار تومان
|
||||
/// </summary>
|
||||
public const long DiscountWalletMinCharge = 10_000;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Shop Settings
|
||||
|
||||
Reference in New Issue
Block a user