feat: 移除“租户管理员为用户充值 / 每租户一套余额”能力:余额统一为全局用户余额
This commit is contained in:
@@ -233,39 +233,6 @@ Authorization: Bearer {{ token }}
|
||||
"idempotency_key": "refund-{{ orderID }}-001"
|
||||
}
|
||||
|
||||
### Tenant Admin - Topup a tenant member
|
||||
@topupUserID = 2
|
||||
POST {{ host }}/t/{{ tenantCode }}/v1/admin/users/{{ topupUserID }}/topup
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer {{ token }}
|
||||
|
||||
{
|
||||
"amount": 1000,
|
||||
"reason": "联调充值",
|
||||
"idempotency_key": "topup-{{ topupUserID }}-001"
|
||||
}
|
||||
|
||||
### Tenant Admin - Batch topup users
|
||||
POST {{ host }}/t/{{ tenantCode }}/v1/admin/users/topup/batch
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer {{ token }}
|
||||
|
||||
{
|
||||
"batch_idempotency_key": "batch-topup-001",
|
||||
"items": [
|
||||
{
|
||||
"user_id": 2,
|
||||
"amount": 1000,
|
||||
"reason": "批量充值-1"
|
||||
},
|
||||
{
|
||||
"user_id": 3,
|
||||
"amount": 2000,
|
||||
"reason": "批量充值-2"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
### Tenant Admin - Join a user to tenant (add member)
|
||||
@joinUserID = 3
|
||||
POST {{ host }}/t/{{ tenantCode }}/v1/admin/users/{{ joinUserID }}/join
|
||||
|
||||
Reference in New Issue
Block a user