GET /points/{user_id}/value
根据积分类型和兑换比率计算当前余额对应的现金价值。cash_value = balance / exchange_rate。仅 cash_equivalent 类型可兑换。
积分服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
user_id |
path |
string |
Yes |
|
|
|
用户ID |
Referenced Schemas
dto.PointValueResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.PointValueResult |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.PointValueResult
| Field | Type | Required | Example | Constraints | Description |
balance |
integer |
No |
5000 |
|
|
cash_value |
string |
No |
50 |
|
|
exchange_rate |
integer |
No |
100 |
|
|
points_type |
string |
No |
cash_equivalent |
|
|
user_id |
string |
No |
user-001 |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|