feat:代理现金余额不足100元展示、店铺业务员选择展示与筛选
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m34s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m34s
This commit is contained in:
@@ -36,25 +36,12 @@ The frontend SHALL read the low-balance display state exclusively from the `GET
|
||||
- **THEN** 前端 MUST 读取 `balance`、`frozen_balance`、`cash_available`、`low_balance_warning`
|
||||
- **AND** `low_balance_warning` MUST be the only source of truth for whether the warning is shown
|
||||
|
||||
### Requirement: Low Balance Notification Target Navigation
|
||||
### Requirement: Public Notification Features Are Out Of Scope
|
||||
|
||||
The system SHALL allow users to navigate from low-balance notifications in the top notification drawer to the corresponding shop's fund overview page by reusing the notification list and notification target resolution APIs. Unauthorized targets SHALL follow the shared error-page behavior.
|
||||
This change SHALL NOT add or modify top notification drawer, notification center, or any other public in-app notification feature.
|
||||
|
||||
#### Scenario: Navigate from low balance notification to shop fund overview
|
||||
|
||||
- **GIVEN** 用户在顶部通知抽屉中看到低余额通知
|
||||
- **WHEN** 用户点击该通知
|
||||
- **THEN** 前端 MUST 复用 `GET /api/admin/notifications/{id}/target` 解析跳转目标
|
||||
- **AND** 系统 MUST 导航到对应店铺的资金页
|
||||
|
||||
#### Scenario: Handle unauthorized notification target
|
||||
|
||||
- **GIVEN** 用户点击低余额通知
|
||||
- **WHEN** 通知目标页无权限访问或目标不可访问
|
||||
- **THEN** 系统 MUST 按统一错误页处理
|
||||
|
||||
#### Scenario: Public notification center is out of scope
|
||||
#### Scenario: Deliver low balance overview without notification changes
|
||||
|
||||
- **WHEN** 本次变更落地
|
||||
- **THEN** 公共站内通知中心页面 MUST NOT be required for this change to be considered complete
|
||||
- **AND** 顶部通知抽屉跳转能力仍 MUST be supported
|
||||
- **THEN** 代理资金概况的低余额展示 MUST be available
|
||||
- **AND** 顶部通知抽屉、站内通知中心及其他公共站内通知功能 MUST NOT be changed by this proposal
|
||||
|
||||
Reference in New Issue
Block a user