feat: add object storage and points leaderboard

This commit is contained in:
richjohnrambo
2026-10-18 18:11:34 +08:00
parent bce5edfaf5
commit b79b781f15
24 changed files with 359 additions and 212 deletions
@@ -481,7 +481,7 @@ GET /v1/member-levels
GET /v1/leaderboard
```
接口要求登录,返回当前租户内已完成任务数量排名前 50 的有效会员。排名只统计
接口要求登录,返回当前租户内已完成领取订单总金额排名前 50 的有效会员。页面将订单总金额展示为领取积分,接口字段 `claimed_points` 的单位为分。排名只统计
`hg_trade_order.order_type=2 AND order_status=4` 的真实任务订单;昵称由服务端脱敏,前端不得还原或展示手机号。
```json
@@ -492,7 +492,7 @@ GET /v1/leaderboard
"rank": 1,
"username": "风***淡",
"avatar_url": "https://cdn.example.com/avatar.png",
"completed_count": 12580,
"claimed_points": 125800,
"status": "领取成功"
}
]