L0
重绘资讯图表,补入容错解析、对象/业务错误与充值读取失败回落基本配置;同步
BO HTML 的现行 PRD 链接。
v1.7
2026-09-11
§2
依开发确认改为容错解析:英文/中文逗号、英文/中文分号、空白与换行均可识别,空项跳过、大小写不敏感、同批重复去重,不再产生“账号格式错误”;只有账号查无、非总代、重复、品牌或权限不符才走对象类失败。全文按需求
27–32 的最短路径重写,保留既有业务边界与完整版本历史;新增 BO HTML
原型。既有资讯图表未涉及解析规则,内容核对后沿用。
Author Luke Source Version
v1.9 Translation Version EN-1.5 Date
2026-09-14 Status In
Progress Platforms BRAND_A &
BRAND_B Category M
This file is the English translation of PRD_v1.9_DepositMethodLimitConfig.md.
The Chinese PRD remains the authoritative source. If the two files
differ, follow the Chinese PRD and update this translation.
EN-1.5 aligns Admin Action Log and the minimum/maximum
per-transaction limit labels with the shared translation dictionary. All source rules are unchanged.
Source Version History
Version
Date
Change Summary
v1.9
2026-09-11
Specified one generic message when a batch create has zero successful
items, so the result never misreports one item's error as the batch result.
Added the bilingual display copy and acceptance coverage.
v1.8
2026-09-11
Redrew the L0 infographic to show tolerant
parsing, object and business errors, and Base Configuration fallback
after an Override List read failure. Updated the current PRD link in the
BO HTML.
v1.7
2026-09-11
Changed §2 to tolerant parsing based on
engineering confirmation: English and Chinese commas and semicolons,
whitespace, and line breaks are accepted; empty items are skipped;
matching is case-insensitive; duplicates within one batch are removed.
Removed the account-format-error branch. Only missing accounts,
non-Master-Agent accounts, duplicates, BRAND mismatches, and permission
failures remain object or business errors. Rewrote the document to the
concise requirement 27–32 standard and added the BO HTML prototype.
v1.6
2026-09-01
Closed the final open item and finalized all proposed backoffice
messages and the edit-dialog heading without changing the error-code
literals owned by engineering.
v1.5
2026-08-13
Shortened L0 and the body, removed repeated platform facts, fixed
the limit rule at physical deletion, restored necessary design-intent
notes, resolved internal references, and confirmed that BRAND mismatches
must be rejected by validation.
v1.4
2026-08-12
Removed rationale, defensive explanation, and repeated rules without
changing business behavior. Reduced the acceptance list while retaining
all release-blocking indexes, L0 requirements, copy, error codes,
version history, and TOC.
v1.3
2026-08-12
Restored the missing BRAND-mismatch message and error mapping, fixed
stale references, clarified the scope of write-permission behavior, and
aligned the acceptance wording.
v1.2
2026-08-12
Aligned with the equivalent withdrawal page: split permissions into
four points, fixed the limit range at 1–50000, defined Base
Configuration fallback, changed default sorting to ascending ID, added
deletion confirmation, standardized success handling, and completed the
copy table.
Initial version. Added Set Limits to each Deposit
Method and defined a Master Agent × per-transaction deposit limit
override with Base Configuration fallback. One limit pair covers both
first and later deposits; limits are read once at submission; deletion
falls back instead of blocking deposits; the Master Agent BRAND must
match the Deposit Method BRAND.
Table of Contents
L0 · Quick Overview
All Master Agent examples in the infographic use the required
@BRAND_A suffix.
① Requirement in One
Sentence
Add Set Limits to every Deposit Method under
Deposit & Withdrawal Channel Management ▸ Deposit Method Management.
Maintain per-transaction minimum and maximum deposit limits by Master
Agent. Use the Override List when a record exists; otherwise use Base
Configuration.
② Fixed Terminology
Term
Only meaning in this document
Override List
A Master Agent × Limit override table under one Deposit Method. Each
Deposit Method has its own list.
Base Configuration
The existing first-deposit and non-first-deposit limit pairs for
that deposit channel.
Override
One pair from the Override List replaces both Base Configuration
pairs.
Delete
Remove the override and fall back to Base Configuration. It does not
block deposits.
③ Global Invariants
Invariant
Failure impact
Verification
G1 One Deposit Method and one Master Agent may have
at most one active record. Use the Override List when a record exists;
otherwise use Base Configuration.
The wrong limits may apply, or two sources of truth may exist.
AC1AC2AC11
G2 One Override List pair replaces both
first-deposit and non-first-deposit limits.
First and later deposits may use different results.
AC3AC4
G3 Read limits once when the player submits. Later
edits or deletions do not re-evaluate in-flight deposits.
Already submitted orders may change retroactively.
AC5AC6
G4 After deletion, fall back to Base Configuration.
Disabling a Deposit Method retains its records; deleting it removes the
linked records.
Deletion may become a blocklist or leave orphaned data.
AC7AC8
G5 The Master Agent BRAND must equal the Deposit
Method BRAND and be within the administrator's permitted scope.
Unusable invalid data may be written.
AC15AC16
G6 Account input uses tolerant parsing and has no
format-error branch. Fail only when the object is missing or violates a
business condition.
Valid lists may be rejected because of punctuation.
AC12AC13AC14
G7 Minimum and maximum must be positive integers
from 1–50000, and minimum must be strictly less than
maximum.
An invalid interval may be stored.
AC9AC10
G8 Header Select All covers the complete list.
Deletion is physical, and the same Master Agent may be added again.
Batch scope may be wrong, or a deleted record may never be
recreated.
AC19AC20
④ Scope and Exclusions
This release includes the entry point, limit list, create, edit,
delete, batch edit and delete, value-source priority, Deposit Method
linkage, four permission points, and the Admin Action Log. It does not
change existing Deposit Method create, edit, delete, enable, or disable
behavior; deposit-channel assignment; Base Configuration; or
player-facing pages and copy. It does not add separate first-deposit and
non-first-deposit settings, list filtering or search, import or export,
or batch-failure details.
1. Page and Data
1.1 Entry Point
1.1.1 Keep the existing Edit,
Delete, and Enable / Disable actions in the
Deposit Method list. Append Set Limits. Show the entry
point only with view permission. The configuration page remains
accessible when the Deposit Method is disabled.
1.2 Limit List
1.2.1 The title is
Deposit Method List – {Deposit Channel} – Limit List. Each
Deposit Method has one list. This page has no filter or search.
2.1.1 The top of the page contains a multiline
Add Agents (Master Agents only) input,
Minimum Per-Transaction Limit,
Maximum Per-Transaction Limit, Add, and
Back. One submission may contain multiple Master Agents
sharing one limit pair. The account placeholder is
Separate with commas, semicolons, spaces, or line breaks.
2.1.2 Frontend and backend use the same
pipeline:
Treat English comma ,, Chinese comma ,,
English semicolon ;, Chinese semicolon ;,
Tab, spaces, and line breaks as separators.
Trim each item and skip empty items. Consecutive, leading, or
trailing separators do not cause an error.
Deduplicate accounts case-insensitively. A duplicate within the same
batch counts once.
Use the cleaned, deduplicated account count to determine single
versus batch processing and the 100-account limit.
2.1.3 After cleaning, zero accounts is treated as a
missing required field. More than 100 accounts blocks the entire batch
and retains the input. There is no account-format-error branch: a string
that cannot be resolved to an account is handled as account not
found.
Master Agent BRAND is within the administrator's permitted
scope.
Return the matching permission error.
Remove that item.
6
Master Agent BRAND equals the Deposit Method BRAND.
Return the matching BRAND error.
Remove that item.
7
This Deposit Method does not already contain that Master Agent.
Return the duplicate message.
Remove that item.
2.2.1 Write each batch item independently. If any
item succeeds, return only the success count and no failure details. If
zero items succeed, always display No Master Agent accounts in this
batch can be added. and do not reuse any single-item error.
Deduplicate within the batch. If a concurrent write hits the unique key,
remove only the conflicting item. Do not validate whether the Master
Agent has already been assigned that deposit channel.
3. Value Selection,
Effect, and Linkage
3.1 Limit Rules
3.1.1 Both limits accept only positive integers from
1–50000, inclusive. Reject 0, negative values,
decimals, and thousands separators. Minimum must be strictly less than
maximum. The Override List may be wider or narrower than Base
Configuration; do not take the intersection.
3.2 Value Selection at
Player Submission
Query the Override List by the player's Master Agent and current
Deposit Method. If a record exists, use its pair for both first and
non-first deposits.
If no record exists or the Override List read fails, fall back to
Base Configuration: use first-deposit values for a first deposit and
non-first-deposit values otherwise. On read failure, also write a system
runtime log.
If Base Configuration also cannot be read, the Deposit Method is
unavailable and follows existing handling.
3.2.1 The limits apply to the Master Agent's entire
downline. Read and validate once when the player clicks submit. Saved
changes affect only later submissions; do not re-evaluate in-flight
deposit orders or subsequent payment callbacks. Downstream responses
include only the effective minimum and maximum, not the source tier.
3.3 Deposit Method Linkage
3.3.1 Disabling a Deposit Method retains all limit
records. Players cannot select the method while it is disabled;
re-enabling restores the records. Physically deleting a Deposit Method
physically deletes all its limit records in the same transaction and
writes a log; affected Master Agents fall back to the matching Base
Configuration. Removing channel assignment does not delete records;
reassignment restores them.
4. Edit, Delete, Batch, and
Concurrency
4.1 Edit and Delete
4.1.1 Single and batch edit use the same dialog
titled Edit limits for {n} records. The Master Agent field
is disabled and fully scrollable. Both amount fields open empty and are
required. Confirmation updates all selected records to the same pair,
with no second confirmation. The buttons are Confirm and
Cancel. If the request contains a Master Agent field,
reject the entire request.
4.1.2 Single and batch delete use the same
confirmation dialog and have no Remarks field. The dialog lists every
account without truncation. On confirmation, physically delete the
records and immediately fall back to Base Configuration. The same Master
Agent may be added again and receives a new ID.
4.2 Selection and Concurrency
4.2.1 Batch edit or delete sends no request when
nothing is selected. Row selection applies only to the current page;
header Select All covers the complete list across pages. In a batch,
skip deleted or unauthorized items and continue with the others. The
result always displays Operation successful. without a
count.
4.2.2 For concurrent edits to one record, the later
save wins. If a record was deleted before a single edit or delete,
prompt the operator to refresh. If the owning Deposit Method was
deleted, return to the Deposit Method list. Repeated submission must not
create duplicate records or repeat a deletion.
5.1.1 On every read and write, the backend
revalidates page permission, write permission, the administrator's BRAND
scope, and the Deposit Method BRAND.
5.2 Backoffice Copy
Chinese remains the source copy. The English column is the approved
display translation for the bilingual prototype.
Scenario
Chinese source
English display
Presentation
No selection for a batch action
请先选择用户,再操作
Select at least one user before continuing.
Dialog
More than 100 accounts after cleaning and deduplication
仅支持单笔 100 个账号
A maximum of 100 accounts is allowed per submission.
Dialog; retain input.
Required field missing or no account after cleaning
请填写完整
Complete all required fields.
Inline
Invalid limit format or range
请输入 1-50000 的正整数
Enter a positive integer from 1 to 50000.
Inline
Minimum is greater than or equal to maximum
单笔最大限额 需大于 单笔最小限额
Per-transaction maximum must be greater than the minimum.
Inline
Single account not found
查无此账号,请检查确认
Account not found. Check and try again.
Dialog
Single account is not a Master Agent
该用户非总代,请检查确认
This user is not a Master Agent. Check and try again.
Dialog
Single duplicate
{总代账号} 该总代之前已添加,请勿重复提交
{Master Agent account} was already added. Do not submit it again.
Dialog
Zero successful items in batch create
本批次无可新增的总代账号
No Master Agent accounts in this batch can be added.
Dialog; no single-item failure reason.
Outside administrator BRAND scope
该总代不在您的可操作范围内
This Master Agent is outside your permitted scope.
Dialog
Master Agent BRAND differs from Deposit Method BRAND
该总代与本充值方式不属于同一平台,无法配置
This Master Agent and Deposit Method belong to different platforms and cannot be configured together.
Dialog
Missing write permission
您没有操作权限,请联系管理员
You do not have permission. Contact an administrator.
Dialog
Target record was deleted
该笔配置已被删除,请刷新后重试
This limit record was deleted. Refresh and try again.
Dialog; refresh after close.
Deposit Method was deleted
该充值方式已被删除
This Deposit Method was deleted.
Dialog; return to the list after close.
Single-delete confirmation
{总代账号},是否确认删除?
Delete {Master Agent account}?
Dialog
Batch-delete confirmation
{账号1},{账号2} 是否确认删除?
Delete {account1}, {account2}?
Dialog; list all accounts.
Success or partial batch success
操作成功
Operation successful.
Dialog; no count.
Zero rows in the limit list
No More Data
No More Data
In-page empty state.
5.2.1 Formatting characters alone do not trigger a
message. System query or write failures use the existing raw backoffice
error presentation and do not introduce new copy.
5.3 Audit Logs
5.3.1 Create, edit, delete, and linked deletion of a
Deposit Method write the Admin Action Log containing object ID,
Master Agent, Deposit Method, and before-and-after values. One batch
writes one summary with the object ID list. Batch create also records
submitted, successful, and removed counts plus removed accounts. Logs
have no Remarks or operation-reason field. Fallback reads write a system
runtime log.
L2 · Acceptance and
Appendices
Appendix A: Acceptance Criteria
#
P
Acceptance Criterion
AC1
P0
With a record, use the Override List. Without a record, use Base
Configuration (G1).
AC2
P0
The Override List may be wider or narrower than Base Configuration;
do not take the intersection (G1).
AC3
P0
A configured Master Agent's first deposit uses the Override List
(G2).
AC4
P0
A non-first deposit under the same Master Agent uses the same
Override List pair (G2).
AC5
P0
After saving a new value, the next deposit submission uses it
(G3).
AC6
P0
An order submitted before the save and paid afterward is not
re-evaluated (G3).
AC7
P0
After deleting a record, deposits remain available and fall back to
Base Configuration (G4).
AC8
P0
Disabling retains records. Deleting a Deposit Method deletes all
linked records and writes a log (G4).
AC9
P0
Accept 1 and 50000; reject 0,
negative values, decimals, thousands separators, and 50001
(G7).
AC10
P0
Block when minimum equals or exceeds maximum (G7).
AC11
P0
Concurrent create for the same Deposit Method and Master Agent
succeeds only once (G1).
AC12
P0
Parse agentA,, agentB;\nAGENTA,agentC; as
agentA / agentB / agentC without a format error
(G6).
AC13
P0
Input containing only commas, semicolons, and whitespace is treated
as a missing required field (G6).
AC14
P0
not-exist@@ does not cause a format error and is
handled as account not found (G6).
AC15
P0
An administrator with both BRAND permissions still cannot add a
Master Agent whose BRAND differs from the Deposit Method BRAND
(G5).
AC16
P0
Frontend and backend reject a Master Agent outside the
administrator's BRAND scope (G5).
AC17
P1
After cleaning and deduplication, 100 accounts may be submitted; 101
blocks the entire batch and retains the input.
AC18
P1
In a batch, remove invalid, non-Master-Agent, unauthorized,
cross-BRAND, and duplicate items; write valid items normally. If every
item is removed, display only No Master Agent accounts in this batch
can be added.
AC19
P0
No request is sent without selection. Header Select All covers the
complete cross-page result (G8).
AC20
P0
After deletion, the record disappears and the same Master Agent may
be added again with a new ID (G8).
AC21
P1
Edit-dialog amount fields do not prefill; Master Agent is not
editable; a request containing the Master Agent field is rejected in
full.
AC22
P1
Batch-edit impact count uses the actual selection. Skip deleted
items and update the rest.
AC23
P0
When an Override List read failure is injected, fall back to Base
Configuration and write a runtime log.
AC24
P0
Without view permission, hide the entry point. Without write
permission, keep controls visible but reject submission in frontend and
backend.
Appendix B: Value-Selection Decision Table
Override List record
Player type
Value source
Present
First / non-first deposit
Same Override List pair
Absent / Override List read failure
First deposit
Base Configuration first-deposit values
Absent / Override List read failure
Non-first deposit
Base Configuration non-first-deposit values
Appendix C: Prototype Visual Checklist
Prototype Visual Checklist
Visual ID
Surface
Purpose
Evidence
VIS-BO-NONE
BO
The backoffice page does not use images or image placeholders.
The BO prototype contains only forms, tables, and dialogs.