GET /internal/billing/plans/{plan}/quotas

服务间内部调用:根据套餐名称(free/basic/pro/enterprise/platform)获取配额限制,包含最大用户数、存储、带宽、API调用数、短信/邮件日限额等

计费服务 - 内部接口 None application/json

请求参数

名称位置类型必填默认值示例约束描述
plan path string 是 套餐名称 (free/basic/pro/enterprise/platform)

响应

状态描述Schema
200套餐配额查询成功service-billing/internal/handler/dto.PlanQuotasDetailResponse
400请求参数错误object
401未授权object
404套餐不存在object
500服务器内部错误object

引用的 Schema

service-billing/internal/handler/dto.PlanQuotasDetailResponse

字段类型必填示例约束描述
code integer 否
data service-billing/internal/handler/dto.PlanQuotasResponse 否
message string 否
timestamp string 否

service-billing/internal/handler/dto.PlanQuotasResponse

字段类型必填示例约束描述
max_api_requests integer 否 100000
max_bandwidth_bytes integer 否 107374182400
max_email_daily integer 否 5000
max_sms_daily integer 否 1000
max_storage_bytes integer 否 10737418240
max_users integer 否 500
name string 否 Professional
plan string 否 pro