/internal/billing/feature-gates/check
服务间内部调用:查询两层 FeatureGate 判定结果(Plan Entitlement 套餐权益 + Tenant Override 租户覆盖),返回最终有效值
请求体
Schema: handler.featureGateCheckRequest
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
gate_key |
string |
否 |
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 200 | 功能开关检查结果 | handler.featureGateCheckResult |
| 400 | 请求参数错误 | object |
| 401 | 未授权 | object |
| 500 | 服务器内部错误 | object |
引用的 Schema
handler.featureGateCheckResult
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
effective |
boolean |
否 | |||
gate_key |
string |
否 | |||
plan_entitled |
boolean |
否 | |||
tenant_override |
boolean |
否 |