18ab7eab92
按 docs/api 一接口一文件约定新增:
- 钱包(11): account / coin-transactions / cash-transactions / exchange-info / exchange / bind-wechat / unbind-wechat / withdraw-info / withdraw / withdraw/status / withdraw-orders
- 签到(2): status / 执行签到
- 任务(2): list / {task_key}/claim
- 省钱(3): summary / battle / records
- 看广告发奖(3): pangle-callback(S2S验签) / reward-status / test-grant(仅联调)
- README 索引补 12–32 行 + 新增「游标分页约定」+ 修正鉴权说明 + 注明金额以分为单位
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
639 B
639 B
GET /api/v1/wallet/exchange-info — 金币兑现金 汇率/规则
所属:Wallet 组(前缀
/api/v1/wallet) | 鉴权:无(返回静态配置,不读用户) | ← 返回 API 索引
入参
无。
出参
响应 200:ExchangeInfoOut
| 字段 | 类型 | 说明 |
|---|---|---|
coin_per_yuan |
int | 多少金币兑 1 元 |
min_coin |
int | 单次兑换最少金币 |
step_coin |
int | 兑换金币需为该值的整数倍(对齐整分) |
说明
给兑换页展示汇率与规则用。值来自 app/core/rewards.py(COIN_PER_YUAN / MIN_EXCHANGE_COIN / COIN_PER_CENT)。