生成卡密
POST
/myauth/web/addACard请求参数
Header 参数
token
string
必需
登录成功后返回的token
示例值:
b9eab83c09cc4d38bbcef5392cfb6333
Body 参数application/json
秒数和点数至少需要填一个,可以都填
money
string
余额
prefix
string
卡密前缀
count
integer
张数
示例
{
"money": "100",
"prefix": "MyQQ-",
"count": 0
}
示例代码
返回响应
成功(200)
错误(500)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
object
必需
ckeyStr
string
必需
timestamp
integer
必需
示例成功示例
{
"code": 200,
"success": true,
"msg": "成功生成 15 张卡密",
"sign": "",
"result": {
"ckeyStr": "Test-c54d9c27278c448e839cd15b4420a403\r\nTest-83819f8effbb4362a8d1684af8722cc3\r\nTest-cc0c30ea4a9a4533b2f77c869cae2dba\r\nTest-2cc4792a60bd4e0d8a8dbc94b830908d\r\nTest-652c1399a4854b22b31a1e0692557883\r\nTest-0dc55ad6b07d42278d6e1261004f80ae\r\nTest-a7809e64fe28423f8ba34a40dd4da68c\r\nTest-d35f8fdda8dc4569bc8de24156470399\r\nTest-20c7e2a7ca1e423bbe77382c1bb77f4f\r\nTest-7a5db16eb8e140c8a04dd3e15ef18441\r\nTest-51746f79a42144ad9a241b150d5dca53\r\nTest-798ee61bc01245cb89bde440d5a79401\r\nTest-27e0b9ffb519438e90872d430dfb219f\r\nTest-31cb53a936a94fb4b4bb327d2330362b\r\nTest-a07d3d657eaf4279949c0aa1bce676bf"
},
"timestamp": 1647400622685
}
最后修改时间: 3 年前