GET /auth/me/tenants
返回当前用户有权限访问的所有租户列表,包含租户ID、名称、显示名称和用户在各租户的角色。支持通过租户服务获取租户显示名称。
身份认证 `bearerAuth` application/json
Referenced Schemas
dto.MyTenantsResponse
| Field | Type | Required | Example | Constraints | Description |
tenants |
array of
See dto.TenantInfo |
No |
|
|
|
dto.MyTenantsResponseWrapper
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.MyTenantsResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.TenantInfo
| Field | Type | Required | Example | Constraints | Description |
id |
string |
No |
|
|
|
name |
string |
No |
|
|
|
role |
string |
No |
|
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|