完善接口和后台页面
This commit is contained in:
29
web/src/lang/backend/en/config/depositTier.ts
Normal file
29
web/src/lang/backend/en/config/depositTier.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
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.',
|
||||
btn_add: 'Add Tier',
|
||||
btn_save: 'Save',
|
||||
btn_remove: 'Delete',
|
||||
confirm_remove: 'Delete this deposit tier?',
|
||||
tier_id: 'Tier ID',
|
||||
auto_id: '(generated on save)',
|
||||
sort: 'Sort',
|
||||
status: 'Enabled',
|
||||
title_col: 'Title (ZH)',
|
||||
title_ph: 'e.g. 新手首充、VIP 高额充值',
|
||||
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',
|
||||
bonus_ph: 'e.g. 20.00, use 0 if none',
|
||||
desc_col: 'Description (ZH)',
|
||||
desc_ph: 'Optional Chinese description, up to 255 chars',
|
||||
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_bonus: 'Row {no}: bonus must be a number no less than 0',
|
||||
}
|
||||
@@ -6,9 +6,7 @@ export default {
|
||||
user_id: 'User ID',
|
||||
channel_id: 'Channel ID',
|
||||
pick_numbers: 'Picks',
|
||||
unit_amount: 'Unit amount',
|
||||
pick_count: 'Pick count',
|
||||
total_amount: 'Total',
|
||||
total_amount: 'Total bet amount',
|
||||
streak_at_bet: 'Streak at bet',
|
||||
is_auto: 'Auto',
|
||||
'is_auto 0': 'Manual',
|
||||
|
||||
@@ -18,6 +18,6 @@ export default {
|
||||
bet_id: 'Bet ID',
|
||||
user_id: 'Player ID',
|
||||
pick_numbers: 'Pick numbers',
|
||||
unit_amount: 'Unit amount',
|
||||
total_amount: 'Total bet amount',
|
||||
streak_at_bet: 'Streak at bet',
|
||||
}
|
||||
|
||||
@@ -11,7 +11,8 @@ export default {
|
||||
coin: 'Coin balance',
|
||||
coin_placeholder: 'decimal(18,4)',
|
||||
total_deposit_coin: 'Total deposit (coin)',
|
||||
total_valid_bet_coin: 'Total valid bet (coin)',
|
||||
total_withdraw_coin: 'Total withdraw (coin)',
|
||||
bet_flow_coin: 'Bet flow (coin)',
|
||||
risk_flags: 'Risk',
|
||||
risk_none: 'None',
|
||||
risk_no_login: 'No login',
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
user_id: 'User ID',
|
||||
channel_id: 'Channel ID',
|
||||
pick_numbers: 'Picks',
|
||||
unit_amount: 'Unit amount',
|
||||
pick_count: 'Pick count',
|
||||
total_amount: 'Total',
|
||||
total_amount: 'Total bet amount',
|
||||
streak_at_bet: 'Streak at bet',
|
||||
is_auto: 'Auto',
|
||||
'is_auto 0': 'Manual',
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
export default {
|
||||
'quick Search Fields': 'Order No./User ID/Pay channel',
|
||||
'quick Search Fields': 'Order No./User ID/Pay channel/Tier/Idempotency key',
|
||||
id: 'ID',
|
||||
order_no: 'Order No.',
|
||||
idempotency_key: 'Idempotency key',
|
||||
user_id: 'User ID',
|
||||
channel_id: 'Channel ID',
|
||||
amount: 'Amount',
|
||||
bonus_amount: 'Bonus',
|
||||
total_credit: 'Total credit',
|
||||
status: 'Status',
|
||||
'status 0': 'Pending',
|
||||
'status 1': 'Success',
|
||||
@@ -12,9 +15,12 @@ export default {
|
||||
'status 3': 'Canceled',
|
||||
pay_channel: 'Pay channel',
|
||||
pay_time: 'Pay time',
|
||||
deposit_tier_id: 'Deposit tier',
|
||||
remark: 'Remark',
|
||||
create_time: 'Created',
|
||||
update_time: 'Updated',
|
||||
user_username: 'Username',
|
||||
channel_name: 'Channel',
|
||||
detail_title: 'Deposit Order Detail',
|
||||
close_btn: 'Close',
|
||||
}
|
||||
|
||||
@@ -17,7 +17,20 @@ export default {
|
||||
remark: 'Remark',
|
||||
create_time: 'Created',
|
||||
update_time: 'Updated',
|
||||
user_username: 'Username',
|
||||
user_username: 'User',
|
||||
channel_name: 'Channel',
|
||||
review_admin_username: 'Reviewer',
|
||||
review_title: 'Withdraw review',
|
||||
review_reject_title: 'Reject withdraw',
|
||||
review_btn_approve: 'Approve',
|
||||
review_btn_reject: 'Reject',
|
||||
review_btn_back: 'Back',
|
||||
review_btn_confirm_reject: 'Confirm reject',
|
||||
review_reject_tip: 'Rejected withdrawals will refund the frozen amount back to the user wallet.',
|
||||
review_reject_placeholder: 'Enter reject reason (visible to the user on mobile history)',
|
||||
reject_reason_required: 'Please enter reject reason',
|
||||
already_reviewed: 'This order has already been reviewed',
|
||||
amount_invalid: 'Apply amount must be greater than 0',
|
||||
fee_invalid: 'Fee cannot be negative',
|
||||
fee_exceed_amount: 'Fee cannot exceed apply amount',
|
||||
}
|
||||
|
||||
@@ -11,7 +11,8 @@ export default {
|
||||
coin: 'Coin balance',
|
||||
coin_placeholder: 'Amounts are displayed with 2 decimals',
|
||||
total_deposit_coin: 'Total deposit (coin)',
|
||||
total_valid_bet_coin: 'Total valid bet (coin)',
|
||||
total_withdraw_coin: 'Total withdraw (coin)',
|
||||
bet_flow_coin: 'Bet flow (coin)',
|
||||
risk_flags: 'Risk',
|
||||
risk_none: 'None',
|
||||
risk_no_login: 'No login',
|
||||
|
||||
29
web/src/lang/backend/zh-cn/config/depositTier.ts
Normal file
29
web/src/lang/backend/zh-cn/config/depositTier.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
export default {
|
||||
title: '充值档位',
|
||||
desc: '配置玩家创建充值订单时可选的充值档位。第三方支付模式下仅需维护档位规格:名称、充值金额、赠送金额、描述等;不再保存收款账户信息。充值名称/描述需分别维护中英文两套:移动端接口会根据请求头 `lang` 返回对应语言,英文缺省时回退到中文。修改后立即生效。',
|
||||
btn_add: '新增档位',
|
||||
btn_save: '保存',
|
||||
btn_remove: '删除',
|
||||
confirm_remove: '确定删除该充值档位?',
|
||||
tier_id: '档位 ID',
|
||||
auto_id: '(保存时生成)',
|
||||
sort: '排序',
|
||||
status: '启用',
|
||||
title_col: '充值名称(中文)',
|
||||
title_ph: '例如:新手首充、VIP 高额充值',
|
||||
title_en_col: '充值名称(英文)',
|
||||
title_en_ph: 'e.g. Starter Pack, VIP Recharge',
|
||||
amount: '充值金额',
|
||||
amount_ph: '例如:100.00',
|
||||
bonus_amount: '赠送金额',
|
||||
bonus_ph: '例如:20.00,无赠送填 0',
|
||||
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 的数字',
|
||||
}
|
||||
@@ -6,9 +6,7 @@ export default {
|
||||
user_id: '用户ID',
|
||||
channel_id: '渠道ID',
|
||||
pick_numbers: '选号',
|
||||
unit_amount: '单号金额',
|
||||
pick_count: '选号个数',
|
||||
total_amount: '总金额',
|
||||
total_amount: '压注总额',
|
||||
streak_at_bet: '下注时连胜',
|
||||
is_auto: '托管',
|
||||
'is_auto 0': '手动',
|
||||
|
||||
@@ -18,6 +18,6 @@ export default {
|
||||
bet_id: '注单ID',
|
||||
user_id: '玩家ID',
|
||||
pick_numbers: '压注号码',
|
||||
unit_amount: '单号金额',
|
||||
total_amount: '压注总额',
|
||||
streak_at_bet: '下注时连胜',
|
||||
}
|
||||
|
||||
@@ -11,7 +11,8 @@ export default {
|
||||
coin: '游戏币余额',
|
||||
coin_placeholder: 'decimal(18,4),禁止业务用浮点存库',
|
||||
total_deposit_coin: '累计充值(币)',
|
||||
total_valid_bet_coin: '累计有效投注(币)',
|
||||
total_withdraw_coin: '累计提现(币)',
|
||||
bet_flow_coin: '打码量/流水(币)',
|
||||
risk_flags: '风控',
|
||||
risk_none: '无限制',
|
||||
risk_no_login: '禁止登录',
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
user_id: '用户ID',
|
||||
channel_id: '渠道ID',
|
||||
pick_numbers: '选号',
|
||||
unit_amount: '单号金额',
|
||||
pick_count: '选号个数',
|
||||
total_amount: '总金额',
|
||||
total_amount: '压注总额',
|
||||
streak_at_bet: '下注时连胜',
|
||||
is_auto: '托管',
|
||||
'is_auto 0': '手动',
|
||||
|
||||
@@ -1,20 +1,26 @@
|
||||
export default {
|
||||
'quick Search Fields': '订单号/用户ID/支付通道',
|
||||
'quick Search Fields': '订单号/用户ID/支付通道/档位ID/幂等键',
|
||||
id: 'ID',
|
||||
order_no: '订单号',
|
||||
idempotency_key: '幂等键',
|
||||
user_id: '用户ID',
|
||||
user_username: '用户名',
|
||||
channel_id: '渠道ID',
|
||||
channel_name: '渠道',
|
||||
amount: '金额',
|
||||
bonus_amount: '赠送金额',
|
||||
total_credit: '实际到账',
|
||||
status: '状态',
|
||||
'status 0': '待处理',
|
||||
'status 0': '待支付',
|
||||
'status 1': '成功',
|
||||
'status 2': '失败',
|
||||
'status 3': '已取消',
|
||||
pay_channel: '支付通道',
|
||||
pay_time: '支付时间',
|
||||
deposit_tier_id: '充值档位',
|
||||
remark: '备注',
|
||||
create_time: '创建时间',
|
||||
update_time: '更新时间',
|
||||
detail_title: '充值订单详情',
|
||||
close_btn: '关闭',
|
||||
}
|
||||
|
||||
@@ -17,7 +17,20 @@ export default {
|
||||
remark: '备注',
|
||||
create_time: '创建时间',
|
||||
update_time: '更新时间',
|
||||
user_username: '用户名',
|
||||
user_username: '用户',
|
||||
channel_name: '渠道',
|
||||
review_admin_username: '审核人',
|
||||
review_title: '提现审核',
|
||||
review_reject_title: '提现拒绝',
|
||||
review_btn_approve: '通过',
|
||||
review_btn_reject: '拒绝',
|
||||
review_btn_back: '返回',
|
||||
review_btn_confirm_reject: '确认拒绝',
|
||||
review_reject_tip: '拒绝审核后,冻结的提现金额将原路退回用户钱包余额。',
|
||||
review_reject_placeholder: '请输入拒绝原因,玩家可在提现记录中看到该说明',
|
||||
reject_reason_required: '请输入拒绝原因',
|
||||
already_reviewed: '该订单已审核,无需重复操作',
|
||||
amount_invalid: '申请金额必须大于 0',
|
||||
fee_invalid: '手续费不能为负',
|
||||
fee_exceed_amount: '手续费不能大于申请金额',
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export default {
|
||||
export default {
|
||||
id: 'ID',
|
||||
username: '用户名',
|
||||
password: '密码',
|
||||
@@ -11,7 +11,8 @@
|
||||
coin: '余额',
|
||||
coin_placeholder: '金额展示统一两位小数',
|
||||
total_deposit_coin: '累计充值(币)',
|
||||
total_valid_bet_coin: '累计有效投注(币)',
|
||||
total_withdraw_coin: '累计提现(币)',
|
||||
bet_flow_coin: '打码量/流水(币)',
|
||||
risk_flags: '风控',
|
||||
risk_none: '无限制',
|
||||
risk_no_login: '禁止登录',
|
||||
|
||||
Reference in New Issue
Block a user