POST /admin/points/batch-earn
Admin operation. Issue points to multiple users in a single request. Each record is processed independently; failure of one does not affect others.
Points Service `bearerAuth` application/json
Referenced Schemas
dto.BatchEarnItem
| Field | Type | Required | Example | Constraints | Description |
amount |
integer |
No |
100 |
|
|
error |
string |
No |
|
|
|
new_balance |
integer |
No |
1100 |
|
|
success |
boolean |
No |
True |
|
|
user_id |
string |
No |
user-001 |
|
|
dto.BatchEarnResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.BatchEarnResult |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.BatchEarnResult
| Field | Type | Required | Example | Constraints | Description |
failed_count |
integer |
No |
1 |
|
|
results |
array of
See dto.BatchEarnItem |
No |
|
|
|
success_count |
integer |
No |
3 |
|
|
dto.BatchEarnUser
| Field | Type | Required | Example | Constraints | Description |
amount |
integer |
Yes |
|
|
|
user_id |
string |
Yes |
|
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|