1.新增充值档位配置
2.新增充值/提现配置
This commit is contained in:
16
web/src/lang/backend/en/config/depositChannel.ts
Normal file
16
web/src/lang/backend/en/config/depositChannel.ts
Normal 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',
|
||||
}
|
||||
@@ -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',
|
||||
}
|
||||
|
||||
50
web/src/lang/backend/en/config/financeCashierConfig.ts
Normal file
50
web/src/lang/backend/en/config/financeCashierConfig.ts
Normal 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',
|
||||
}
|
||||
3
web/src/lang/backend/en/order/depositChannelOrder.ts
Normal file
3
web/src/lang/backend/en/order/depositChannelOrder.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
'quick Search Fields': 'order no / pay channel / tier id / idempotency key',
|
||||
}
|
||||
16
web/src/lang/backend/zh-cn/config/depositChannel.ts
Normal file
16
web/src/lang/backend/zh-cn/config/depositChannel.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
export default {
|
||||
desc: '支付渠道在代码与环境变量中注册(展示名、code);此处仅配置开关、排序,以及各渠道允许的充值档位(唯一标识 tier id)。留空「适用档位」表示不限制。修改后立即生效。',
|
||||
btn_save: '保存',
|
||||
sort: '排序',
|
||||
status: '启用',
|
||||
code: '渠道代码',
|
||||
display_name: '展示名称(只读)',
|
||||
tier_ids: '适用充值档位',
|
||||
tier_ids_ph: '空=全部档位',
|
||||
'quick Search Fields': '渠道代码 / 展示名称',
|
||||
form_tip: '展示名由代码与环境注册表决定,此处不可改;可调整排序、开关与适用档位。',
|
||||
status_on: '启用',
|
||||
status_off: '停用',
|
||||
tier_all: '全部档位',
|
||||
rule_sort: '请填写排序值',
|
||||
}
|
||||
@@ -1,11 +1,23 @@
|
||||
export default {
|
||||
title: '充值档位',
|
||||
desc: '配置玩家创建充值订单时可选的充值档位。第三方支付模式下仅需维护档位规格:名称、充值金额、赠送金额、描述等;不再保存收款账户信息。充值名称/描述需分别维护中英文两套:移动端接口会根据请求头 `lang` 返回对应语言,英文缺省时回退到中文。修改后立即生效。',
|
||||
desc: '配置移动端充值档位:充值名称(中英文)、支付货币与支付额度、到账平台币(基础+赠送)、唯一档位标识(id/tier_key)用于下单与渠道绑定。关闭「启用」后玩家不可选该档。修改后立即生效。',
|
||||
'quick Search Fields': '唯一标识 / 中文名 / 英文名',
|
||||
form_tip: '列表为只读展示;请使用工具栏「添加 / 编辑」在弹窗中维护。保存后立即生效。',
|
||||
tier_id_optional: '唯一标识(可选)',
|
||||
tier_id_optional_ph: '留空则由系统自动生成',
|
||||
status_on: '启用',
|
||||
status_off: '停用',
|
||||
total_platform: '到账合计(基础+赠送)',
|
||||
rule_title: '请填写中文充值名称',
|
||||
rule_currency: '请选择或填写支付货币',
|
||||
rule_pay_amount: '支付货币额度须为大于 0 的数字',
|
||||
rule_platform_base: '基础平台币须为大于 0 的数字',
|
||||
rule_bonus: '赠送平台币须为不小于 0 的数字',
|
||||
btn_add: '新增档位',
|
||||
btn_save: '保存',
|
||||
btn_remove: '删除',
|
||||
confirm_remove: '确定删除该充值档位?',
|
||||
tier_id: '档位 ID',
|
||||
tier_id: '唯一标识',
|
||||
auto_id: '(保存时生成)',
|
||||
sort: '排序',
|
||||
status: '启用',
|
||||
@@ -13,17 +25,23 @@ export default {
|
||||
title_ph: '例如:新手首充、VIP 高额充值',
|
||||
title_en_col: '充值名称(英文)',
|
||||
title_en_ph: 'e.g. Starter Pack, VIP Recharge',
|
||||
amount: '充值金额',
|
||||
amount_ph: '例如:100.00',
|
||||
bonus_amount: '赠送金额',
|
||||
pay_currency: '支付货币',
|
||||
pay_currency_ph: '选择或输入',
|
||||
pay_amount: '支付货币额度',
|
||||
pay_amount_ph: '例如:3.00',
|
||||
platform_base: '到账平台币(基础)',
|
||||
platform_base_ph: '例如:210.00',
|
||||
bonus_amount: '赠送平台币',
|
||||
bonus_ph: '例如:20.00,无赠送填 0',
|
||||
platform_coin_suffix: '币',
|
||||
desc_col: '描述(中文)',
|
||||
desc_ph: '可选,展示给中文玩家的档位说明,最长 255 字',
|
||||
desc_en_col: '描述(英文)',
|
||||
desc_en_ph: 'Optional English description for EN players, up to 255 chars',
|
||||
currency: '币',
|
||||
operate: '操作',
|
||||
err_title: '第 {no} 行:中文充值名称不能为空',
|
||||
err_amount: '第 {no} 行:充值金额必须为大于 0 的数字',
|
||||
err_bonus: '第 {no} 行:赠送金额必须为不小于 0 的数字',
|
||||
err_currency: '第 {no} 行:请选择支付货币',
|
||||
err_pay_amount: '第 {no} 行:支付货币额度必须为大于 0 的数字',
|
||||
err_platform_base: '第 {no} 行:基础平台币到账必须为大于 0 的数字',
|
||||
err_bonus: '第 {no} 行:赠送平台币必须为不小于 0 的数字',
|
||||
}
|
||||
|
||||
51
web/src/lang/backend/zh-cn/config/financeCashierConfig.ts
Normal file
51
web/src/lang/backend/zh-cn/config/financeCashierConfig.ts
Normal file
@@ -0,0 +1,51 @@
|
||||
export default {
|
||||
desc: '配置移动端支付与收款展示:平台币名称、货币与汇率、充值支付渠道(开关/排序/适用档位)、提现银行、最低限额、文案与提现表单字段。充值档位在「充值档位」中维护。',
|
||||
btn_save: '保存',
|
||||
btn_add_row: '新增一行',
|
||||
sec_platform: '平台币展示名',
|
||||
platform_label_zh: '名称(中文)',
|
||||
platform_label_en: '名称(英文)',
|
||||
sec_currencies: '货币列表(充值/提现货币下拉)',
|
||||
sec_deposit_channels: '充值支付渠道',
|
||||
deposit_channels_hint: '展示名由环境注册表决定,此处仅维护启用状态、排序与适用充值档位;不选档位表示全部档位可用。',
|
||||
currency_rates_hint: '充值汇率:每支付 1 单位该货币到账的平台币;提现汇率:每兑换 1 单位该货币所需平台币(例 100 表示 100 平台币 = 1 单位)。',
|
||||
err_dup_code: '货币代码不能重复,请检查后再保存。',
|
||||
sec_banks: '提现支持银行代码',
|
||||
sec_limits: '提现最低限额(法币金额,与文案中币种一致)',
|
||||
min_ewallet: '电子钱包最低',
|
||||
min_bank: '银行最低',
|
||||
sec_copy: '提现页文案',
|
||||
rate_mode: '汇率展示',
|
||||
rate_mode_fixed: '固定汇率',
|
||||
rate_mode_live: '实时汇率(展示用)',
|
||||
rate_hint_zh: '汇率提示(中文)',
|
||||
rate_hint_en: '汇率提示(英文)',
|
||||
processing_zh: '到账说明(中文)',
|
||||
processing_en: '到账说明(英文)',
|
||||
fee_note_zh: '手续费说明(中文)',
|
||||
fee_note_en: '手续费说明(英文)',
|
||||
sec_fields: '提现表单字段(必填)',
|
||||
field_cardholder: '持卡人姓名',
|
||||
field_bank_account: '银行账号',
|
||||
field_email: '收款邮箱',
|
||||
field_mobile: '收款手机',
|
||||
col_code: '代码',
|
||||
col_label_zh: '中文名',
|
||||
col_label_en: '英文名',
|
||||
col_sort: '排序',
|
||||
col_deposit_rate: '充值汇率',
|
||||
col_withdraw_rate: '提现汇率',
|
||||
col_bank_code: '银行代码',
|
||||
col_name_zh: '银行名(中文)',
|
||||
col_name_en: '银行名(英文)',
|
||||
ph_ratio: '如 100',
|
||||
ph_currency_code: '如 MYR',
|
||||
ph_bank_code: '如 agrobank',
|
||||
/** 本页「充值支付渠道」表格(不依赖 depositChannel 路由语言包) */
|
||||
ch_code: '渠道代码',
|
||||
ch_display_name: '展示名称',
|
||||
ch_sort: '排序',
|
||||
ch_status: '启用',
|
||||
ch_tier_ids: '适用充值档位',
|
||||
ch_tier_ids_ph: '不选表示全部档位',
|
||||
}
|
||||
3
web/src/lang/backend/zh-cn/order/depositChannelOrder.ts
Normal file
3
web/src/lang/backend/zh-cn/order/depositChannelOrder.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
'quick Search Fields': '订单号/支付通道/档位ID/幂等键',
|
||||
}
|
||||
Reference in New Issue
Block a user