计算提升QPS/通道积分
POST
/open-platform/qps/calculateRechargeAmount计算提升QPS/通道积分
请求参数
Body 参数application/json
increase_qps
integer <int32>
提升QPS数值
示例值:
433
increase_amount
integer <int32>
提升数量
示例值:
493
resource_type
string <enum>
可选
提升资源类型:QPS-qps,CHANNEL-通道,默认QPS
示例值:
QPS
model_code
integer <int32>
模型code
示例值:
0
effect_start_time
number <int64>
必需
生效开始时间戳(单位:秒)
示例值:
1725848494
effect_end_time
number <int64>
必需
生效结束时间戳(单位:秒)
示例值:
1725852094
示例
{
"increase_qps": 466,
"increase_amount": 56,
"resource_type": "QPS",
"model_code": 0,
"effect_start_time": 1725848494,
"effect_end_time": 1725852094
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON*/*
OK
数据结构
code
string <string>
响应code
示例值:
200
message
string <string>
失败信息
示例值:
success
data
object (RechargeQpsCalculateAmountVo_response)
可选
返回数据(object)
recharge_type
string <enum>
支付类型
示例值:
INTEGRAL
amount
number <int64>
支付价格
示例值:
174
示例test data
{
"code": "200",
"message": "success",
"data": {
"recharge_type": "INTEGRAL",
"amount": 316
}
}
最后修改时间: 10 天前