1.配置新版支付模块-菜单和接口都已重构

2.优化充值提现页面
3.菜单翻译问题
4.备份数据库
This commit is contained in:
2026-04-30 11:37:46 +08:00
parent e8c2b9d345
commit c7fc754573
23 changed files with 4042 additions and 400 deletions

View File

@@ -1,16 +1,27 @@
export default {
desc: 'Mobile pay & receipt settings: platform coin labels, currencies and rates, deposit pay channels (on/off and sort; all tiers are supported automatically), withdraw banks, limits, copy, and required withdraw fields.',
desc: 'Mobile pay & receipt settings: platform coin labels, currencies and rates, deposit pay channels (on/off and sort; supported currencies per channel), withdraw banks, limits and copy. DDPay-required fields follow the gateway doc and API contracts—not toggles on this page.',
btn_save: 'Save',
btn_add_row: 'Add row',
sec_platform: 'Platform coin labels',
tab_cashier: 'Deposit/Withdraw config',
tab_tiers: 'Deposit tiers',
tab_deposit_banks: 'Deposit banks',
tab_withdraw_banks: 'Withdraw banks',
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 and sort order. All enabled channels automatically support all deposit tiers.',
deposit_channels_hint: 'Only the DDPay channel is built-in. Set enabled state, sort and supported fiat currencies per row.',
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_deposit_banks: 'Deposit banks by currency',
deposit_banks_hint: 'Used for DDPay deposit bank options and client display, maintained by currency_code.',
sec_withdraw_banks: 'Withdraw banks by currency',
withdraw_banks_hint: 'Used for withdrawCreate bank_code mapping and client display, maintained by currency_code.',
sec_deposit_tiers: 'Deposit tiers (embedded)',
sec_tabbed_config: 'Banks & deposit tiers (tabs)',
deposit_tiers_hint: 'Moved into this page. When deleting currencies, related tiers will be previewed and removed together after confirmation.',
btn_save_tiers: 'Save tiers',
sec_limits: 'Minimum withdraw (fiat amount; match your copy currency)',
min_ewallet: 'E-wallet minimum',
min_bank: 'Bank minimum',
@@ -24,11 +35,17 @@ export default {
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',
sec_ddpay_spec: 'DDPay integration (read-only)',
ddpay_spec_intro:
'Withdrawals use DDPay Payout (mobile: withdrawCreate). Deposits with channel ddpay use depositCreate. Below is a short field summary; see the DDPay doc and the mobile API draft in the repo for details.',
ddpay_spec_li_withdraw:
'Withdraw (required): withdraw_coin, receive_type=bank, receive_account, receiver_name (as registered with the bank), bank_code (must match a code from “Withdraw banks by currency” on this page), idempotency_key; bank_branch optional (server sends N/A if omitted).',
ddpay_spec_li_bank_table:
'English bank name maps to DDPay bank[name] and must match the official full bank names, or payout may be rejected.',
ddpay_spec_li_deposit:
'Deposit (ddpay): payment_type (01=FPX, 02=duitnow, 03=ewallet), payer_name, payer_bank_name (full name per official deposit bank list).',
ddpay_spec_li_doc:
'Gateway doc: docs/DDPay Payment Gateway_v1.1.3_zh.md (and PDF); HTTPS and callback rules follow the vendor spec.',
col_code: 'Code',
col_label_zh: 'Name (ZH)',
col_label_en: 'Name (EN)',
@@ -36,6 +53,17 @@ export default {
col_deposit_rate: 'Deposit rate',
col_withdraw_rate: 'Withdraw rate',
col_bank_code: 'Bank code',
col_currency_code: 'Currency',
col_tier_id: 'Tier ID',
col_title_zh: 'Title (ZH)',
col_title_en: 'Title (EN)',
col_pay_amount: 'Pay amount',
col_amount: 'Platform amount',
col_bonus_amount: 'Bonus',
col_tier_sort: 'Sort',
col_tier_status: 'Enabled',
msg_delete_currency_prune_tiers: 'Deleting currency {currency} will also remove {count} related deposit tier(s). Continue?',
msg_affected_tier_ids: 'Affected tiers',
col_name_zh: 'Bank (ZH)',
col_name_en: 'Bank (EN)',
ph_ratio: 'e.g. 100',
@@ -45,4 +73,5 @@ export default {
ch_display_name: 'Display name',
ch_sort: 'Sort',
ch_status: 'Enabled',
ch_currency_codes: 'Supported currencies',
}

View File

@@ -1,16 +1,27 @@
export default {
desc: '配置移动端支付与收款展示:平台币名称、货币与汇率、充值支付渠道(开关/排序,自动兼容全部档位)、提现银行、最低限额文案提现表单字段。',
desc: '配置移动端支付与收款展示:平台币名称、货币与汇率、充值支付渠道(开关/排序,以及按渠道配置支持币种)、提现银行、最低限额文案提现/充值与 DDPay 对接的必填字段由网关文档与接口约定,不在此页配置。',
btn_save: '保存',
btn_add_row: '新增一行',
sec_platform: '平台币展示名',
tab_cashier: '充值/提现配置',
tab_tiers: '充值档位配置',
tab_deposit_banks: '充值银行配置',
tab_withdraw_banks: '提现银行配置',
platform_label_zh: '名称(中文)',
platform_label_en: '名称(英文)',
sec_currencies: '货币列表(充值/提现货币下拉)',
sec_deposit_channels: '充值支付渠道',
deposit_channels_hint: '展示名由环境注册表决定此处维护启用状态排序;所有启用渠道自动兼容全部充值档位。',
deposit_channels_hint: '当前仅 DDPay 渠道。展示名由注册表决定此处维护启用状态排序与各渠道支持的法币币种。',
currency_rates_hint: '充值汇率:每支付 1 单位该货币到账的平台币;提现汇率:每兑换 1 单位该货币所需平台币(例 100 表示 100 平台币 = 1 单位)。',
err_dup_code: '货币代码不能重复,请检查后再保存。',
sec_banks: '提现支持银行代码',
sec_deposit_banks: '充值支持银行(按币种)',
deposit_banks_hint: '用于 DDPay 入金参数辅助与客户端展示,按 currency_code 维护可选银行。',
sec_withdraw_banks: '提现支持银行(按币种)',
withdraw_banks_hint: '用于 withdrawCreate 的 bank_code 映射与客户端展示,按 currency_code 维护。',
sec_deposit_tiers: '充值档位(内嵌维护)',
sec_tabbed_config: '银行与充值档位(标签页)',
deposit_tiers_hint: '已并入当前页面。删除币种时若存在关联档位,将提示并同步删除对应档位。',
btn_save_tiers: '保存档位',
sec_limits: '提现最低限额(法币金额,与文案中币种一致)',
min_ewallet: '电子钱包最低',
min_bank: '银行最低',
@@ -24,11 +35,17 @@ export default {
processing_en: '到账说明(英文)',
fee_note_zh: '手续费说明(中文)',
fee_note_en: '手续费说明(英文)',
sec_fields: '提现表单字段(必填',
field_cardholder: '持卡人姓名',
field_bank_account: '银行账号',
field_email: '收款邮箱',
field_mobile: '收款手机',
sec_ddpay_spec: 'DDPay 对接说明(只读',
ddpay_spec_intro:
'当前提现走 DDPay 出金Payout移动端调用 withdrawCreate充值渠道为 ddpay 时调用 depositCreate。下列为字段约定摘要详细以仓库内 DDPay 文档与《36字花-移动端接口设计草案》为准。',
ddpay_spec_li_withdraw:
'提现必填withdraw_coin、receive_type=bank、receive_account收款账号、receiver_name与银行登记一致、bank_code须与本页「提现支持银行按币种」中 code 一致、idempotency_keybank_branch 选填,不传则服务端按 N/A 提交。',
ddpay_spec_li_bank_table:
'「银行名(英文)」将映射为 DDPay 的 bank[name],请与 DDPay 官方银行全称列表一致,否则出金可能被拒。',
ddpay_spec_li_deposit:
'充值channel_code=ddpay必填payment_type官方取值 01=FPX、02=duitnow、03=ewallet、payer_name、payer_bank_name须与官方入金银行列表全称一致。',
ddpay_spec_li_doc:
'官方文档docs/DDPay Payment Gateway_v1.1.3_zh.md回调与 HTTPS 要求以文档为准。',
col_code: '代码',
col_label_zh: '中文名',
col_label_en: '英文名',
@@ -36,6 +53,17 @@ export default {
col_deposit_rate: '充值汇率',
col_withdraw_rate: '提现汇率',
col_bank_code: '银行代码',
col_currency_code: '币种',
col_tier_id: '档位ID',
col_title_zh: '标题(中文)',
col_title_en: '标题(英文)',
col_pay_amount: '支付金额',
col_amount: '平台币',
col_bonus_amount: '赠送',
col_tier_sort: '排序',
col_tier_status: '启用',
msg_delete_currency_prune_tiers: '将删除币种 {currency},并删除关联充值档位 {count} 条,是否继续?',
msg_affected_tier_ids: '影响档位',
col_name_zh: '银行名(中文)',
col_name_en: '银行名(英文)',
ph_ratio: '如 100',
@@ -46,4 +74,5 @@ export default {
ch_display_name: '展示名称',
ch_sort: '排序',
ch_status: '启用',
ch_currency_codes: '支持币种',
}