GET /points/{user_id}/stats
获取用户积分账户的综合统计数据:当前余额、总获得/消费/过期、本月数据、30天内即将过期积分。
积分服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
user_id |
path |
string |
Yes |
|
|
|
用户ID |
Referenced Schemas
dto.PointStatsDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.PointStatsResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.PointStatsResponse
| Field | Type | Required | Example | Constraints | Description |
current_balance |
integer |
No |
1500 |
|
|
earned_this_month |
integer |
No |
200 |
|
|
expiring_soon |
integer |
No |
500 |
|
|
spent_this_month |
integer |
No |
150 |
|
|
total_earned |
integer |
No |
5000 |
|
|
total_expired |
integer |
No |
100 |
|
|
total_spent |
integer |
No |
3500 |
|
|
user_id |
string |
No |
usr_example_001 |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|