rwadurian/backend/services/trading-service/src/api
hailin ee734fb7b9 feat(trading+app): 预种卖出限制 — 前端 UI 禁用 + 后端查询端点
trading-service:
- asset.controller.ts: 新增 GET /asset/sell-restriction,供 mobile app 查询当前用户限制状态
- application.module.ts: 导出 TradingSellRestrictionService

mining-app:
- api_endpoints.dart: 新增 sellRestriction 端点常量
- trading_remote_datasource.dart: 新增 getSellRestriction()(fail-open)
- trading_repository.dart/impl: 新增接口与实现
- trading_providers.dart: 新增 sellRestrictionProvider(2分钟缓存,fail-open)
- trading_page.dart: 卖出限制时显示红色提示文字并禁用"确认交易"按钮
- c2c_publish_page.dart: 发布卖出广告时显示红色提示文字并禁用发布按钮

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 05:51:56 -08:00
..
controllers feat(trading+app): 预种卖出限制 — 前端 UI 禁用 + 后端查询端点 2026-03-04 05:51:56 -08:00
dto feat(c2c): 订单详情增强、付款水单上传、买单逻辑修复及schema对齐 2026-01-31 08:54:05 -08:00
gateways feat(trading): 资产页面实时价格 WebSocket 推送 2026-01-18 21:18:34 -08:00
api.module.ts feat(c2c-bot): 添加C2C Bot管理页面,支持运行时开关和热钱包查看 2026-02-01 04:47:28 -08:00