1.新增充值档位配置

2.新增充值/提现配置
This commit is contained in:
2026-04-21 18:31:43 +08:00
parent aad00e10f8
commit 0f28c0fd2a
29 changed files with 3647 additions and 278 deletions

View File

@@ -0,0 +1,16 @@
export default {
desc: 'Pay channels are registered in code and environment variables (display name, code). Here you only toggle availability, sort order, and which deposit tiers each channel accepts. Leave tiers empty to allow all enabled tiers. Changes apply immediately.',
btn_save: 'Save',
sort: 'Sort',
status: 'Enabled',
code: 'Channel code',
display_name: 'Display name (read-only)',
tier_ids: 'Allowed tier ids',
tier_ids_ph: 'Empty = all tiers',
'quick Search Fields': 'channel code / display name',
form_tip: 'Display names come from the code/env registry and cannot be edited here; adjust sort, status, and allowed tiers.',
status_on: 'Enabled',
status_off: 'Disabled',
tier_all: 'All tiers',
rule_sort: 'Sort value is required',
}

View File

@@ -1,29 +1,47 @@
export default {
title: 'Deposit Tiers',
desc: 'Configure the deposit tiers players can pick when creating a deposit order. In the third-party payment mode, only tier specs (name, amount, bonus, description) are maintained; receiving accounts are no longer stored here. Maintain both Chinese and English text for the title and description: the mobile API returns the language matching the request `lang` header, falling back to Chinese if English is blank. Changes take effect immediately.',
desc: 'Configure mobile deposit tiers: titles (ZH/EN), pay currency & pay amount, credited platform coins (base + bonus), and stable tier id (tier_key) for orders and channel binding. Disabled tiers are hidden from players. Changes apply immediately.',
'quick Search Fields': 'tier id / title (ZH) / title (EN)',
form_tip: 'The table is read-only; use toolbar Add / Edit in the dialog. Changes apply immediately.',
tier_id_optional: 'Tier id (optional)',
tier_id_optional_ph: 'Leave empty to auto-generate',
status_on: 'Enabled',
status_off: 'Disabled',
total_platform: 'Total credit (base + bonus)',
rule_title: 'Title (ZH) is required',
rule_currency: 'Pay currency is required',
rule_pay_amount: 'Pay amount must be a number greater than 0',
rule_platform_base: 'Base platform coin must be a number greater than 0',
rule_bonus: 'Bonus must be a number no less than 0',
btn_add: 'Add Tier',
btn_save: 'Save',
btn_remove: 'Delete',
confirm_remove: 'Delete this deposit tier?',
tier_id: 'Tier ID',
tier_id: 'Tier key',
auto_id: '(generated on save)',
sort: 'Sort',
status: 'Enabled',
title_col: 'Title (ZH)',
title_ph: 'e.g. 新手首充、VIP 高额充值',
title_ph: 'e.g. First recharge, VIP top-up bundle',
title_en_col: 'Title (EN)',
title_en_ph: 'e.g. Starter Pack, VIP Recharge',
amount: 'Amount',
amount_ph: 'e.g. 100.00',
bonus_amount: 'Bonus',
pay_currency: 'Pay currency',
pay_currency_ph: 'Select or type',
pay_amount: 'Pay amount (fiat)',
pay_amount_ph: 'e.g. 3.00',
platform_base: 'Base platform coin',
platform_base_ph: 'e.g. 210.00',
bonus_amount: 'Bonus platform coin',
bonus_ph: 'e.g. 20.00, use 0 if none',
platform_coin_suffix: 'coin',
desc_col: 'Description (ZH)',
desc_ph: 'Optional Chinese description, up to 255 chars',
desc_ph: 'Optional description for Chinese locale, up to 255 characters',
desc_en_col: 'Description (EN)',
desc_en_ph: 'Optional English description, up to 255 chars',
currency: '',
operate: 'Action',
err_title: 'Row {no}: Chinese title is required',
err_amount: 'Row {no}: amount must be a number greater than 0',
err_title: 'Row {no}: Title (ZH) is required',
err_currency: 'Row {no}: pay currency is required',
err_pay_amount: 'Row {no}: pay amount must be a number greater than 0',
err_platform_base: 'Row {no}: base platform coin must be a number greater than 0',
err_bonus: 'Row {no}: bonus must be a number no less than 0',
}

View File

@@ -0,0 +1,50 @@
export default {
desc: 'Mobile pay & receipt settings: platform coin labels, currencies and rates, deposit pay channels (on/off, sort, tier scope), withdraw banks, limits, copy, and required withdraw fields. Deposit tiers are configured separately.',
btn_save: 'Save',
btn_add_row: 'Add row',
sec_platform: 'Platform coin labels',
platform_label_zh: 'Label (Chinese)',
platform_label_en: 'Label (English)',
sec_currencies: 'Currencies (deposit/withdraw selectors)',
sec_deposit_channels: 'Deposit pay channels',
deposit_channels_hint: 'Display names come from the registry; here you only set enabled state, sort order, and applicable deposit tiers. Leave tiers empty to allow all tiers.',
currency_rates_hint: 'Deposit rate: platform coins credited per 1 fiat paid. Withdraw rate: platform coins needed per 1 fiat redeemed (e.g. 100 ⇒ 100 coins = 1 fiat unit).',
err_dup_code: 'Duplicate currency codes are not allowed.',
sec_banks: 'Withdraw bank codes',
sec_limits: 'Minimum withdraw (fiat amount; match your copy currency)',
min_ewallet: 'E-wallet minimum',
min_bank: 'Bank minimum',
sec_copy: 'Withdraw page copy',
rate_mode: 'Rate display',
rate_mode_fixed: 'Fixed rate',
rate_mode_live: 'Live rate (display)',
rate_hint_zh: 'Rate hint (ZH)',
rate_hint_en: 'Rate hint (EN)',
processing_zh: 'Processing note (ZH)',
processing_en: 'Processing note (EN)',
fee_note_zh: 'Fee note (ZH)',
fee_note_en: 'Fee note (EN)',
sec_fields: 'Withdraw form (required)',
field_cardholder: 'Cardholder name',
field_bank_account: 'Bank account',
field_email: 'Payee email',
field_mobile: 'Payee mobile',
col_code: 'Code',
col_label_zh: 'Name (ZH)',
col_label_en: 'Name (EN)',
col_sort: 'Sort',
col_deposit_rate: 'Deposit rate',
col_withdraw_rate: 'Withdraw rate',
col_bank_code: 'Bank code',
col_name_zh: 'Bank (ZH)',
col_name_en: 'Bank (EN)',
ph_ratio: 'e.g. 100',
ph_currency_code: 'e.g. MYR',
ph_bank_code: 'e.g. agrobank',
ch_code: 'Channel code',
ch_display_name: 'Display name',
ch_sort: 'Sort',
ch_status: 'Enabled',
ch_tier_ids: 'Allowed deposit tiers',
ch_tier_ids_ph: 'Empty = all tiers',
}