/internal/billing/feature-gates/check
服务间内部调用:查询两层 FeatureGate 判定结果(Plan Entitlement 套餐权益 + Tenant Override 租户覆盖),返回最终有效值
Request Body
Schema: handler.featureGateCheckRequest
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
gate_key |
string |
No |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 功能开关检查结果 | handler.featureGateCheckResult |
| 400 | 请求参数错误 | object |
| 401 | 未授权 | object |
| 500 | 服务器内部错误 | object |
Referenced Schemas
handler.featureGateCheckResult
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
effective |
boolean |
No | |||
gate_key |
string |
No | |||
plan_entitled |
boolean |
No | |||
tenant_override |
boolean |
No |