GET /admin/billing/feature-gates
根据当前租户订阅的套餐返回已启用的 FeatureGates(功能开关)列表,用于前端根据功能开关渲染 UI。两层判定:套餐权益 + 租户覆盖。
计费服务 - 特性开关 `bearerAuth` application/json
Referenced Schemas
billing.FeatureGate
| Field | Type | Required | Example | Constraints | Description |
description |
string |
No |
|
|
功能描述 |
enabled |
boolean |
No |
|
|
当前租户是否启用 |
key |
string |
No |
|
|
"nhi", "mfa", "sso", "audit_export" |
name |
string |
No |
|
|
"Non-Human Identities" (展示名) |
dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
handler.featureGateResponse
| Field | Type | Required | Example | Constraints | Description |
feature_gates |
array of
See billing.FeatureGate |
No |
|
|
|