创建 key
POST
/custom_key/save请求参数
Body 参数application/json
type_id
integer
分组的 id
n
integer
创建多少个 key
示例
{
"type_id": 105,
"n": 3
}
示例代码
返回响应
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{
"code": 0,
"data": {
"custom_key_array": [
{
"id": 154731,
"uid": 186009,
"key": "...",
"enabled": 1,
"point": 0,
"minute_times": 60,
"last_access_time": null,
"type_id": "290",
"created_at": "2023-05-27T04:25:45.000000Z",
"updated_at": "2023-05-27T04:25:45.000000Z",
"daily_times": 0,
"daily_quota": 10000,
"note": "",
"monthly_times": 0,
"monthly_quota": 300000
},
{
"id": 154732,
"uid": 186009,
"key": "...",
"enabled": 1,
"point": 0,
"minute_times": 60,
"last_access_time": null,
"type_id": "290",
"created_at": "2023-05-27T04:25:45.000000Z",
"updated_at": "2023-05-27T04:25:45.000000Z",
"daily_times": 0,
"daily_quota": 10000,
"note": "",
"monthly_times": 0,
"monthly_quota": 300000
}
]
}
}
最后修改时间: 5 个月前