Files
one-pipe-system/openspec/changes/update-agent-fund-low-balance-warning/tasks.md
luo e95dc8e4f5
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m34s
feat:代理现金余额不足100元展示、店铺业务员选择展示与筛选
2026-07-20 12:17:02 +08:00

16 lines
874 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 1. API Contract
- [x] 1.1 更新代理资金概况相关数据模型,补充 `balance``frozen_balance``cash_available``low_balance_warning` 字段读取。
## 2. Agent Fund Overview UI
- [x] 2.1 在代理资金概况中展示现金余额、冻结金额,并统一按分转元格式化。
- [x] 2.2 当 `low_balance_warning=true` 时展示“现金余额不足100元”红色状态。
- [x] 2.3 不展示阈值输入框,不把信用额度计入预警文案,也不由前端自行计算余额阈值。
## 3. Verification
- [ ] 3.1 验证现金可用余额高于、等于、低于100元三种情况下的状态展示正确且仅由 `low_balance_warning` 控制。
- [x] 3.2 验证本次改动未引入公共站内通知相关功能。
- [x] 3.3 运行相关前端校验,并执行 `openspec validate update-agent-fund-low-balance-warning --strict`