https://apiv2.xinnet.com/api/account/queryProductPrice| 参数名 | 是否必选 | 类型 | 说明 | 示例 |
|---|---|---|---|---|
| queryType | 是 | string | regist(新开)、renew(续费) | renew |
{
"queryType":"renew"
}| 返回信息 | 说明 |
|---|---|
| code | 执行结果代码:0-成功,非0-失败 |
| msg | 执行结果说明 |
| requestId | 本次请求唯一ID |
| data[] | 返回map |
| data.map.key | 产品名称 |
| data.map.value | 产品价格列表 |
{
"code":"0",
"msg":"请求成功",
"requestId":"mL7Uv3j2gMw0mBF8bj5",
"data":[
{
"key":"中文.cc",
"value":[
{
"price":"130",
"timeAmount":"1",
"timeUnit":"Y",
},
{
"price":"260",
"timeAmount":"2",
"timeUnit":"Y",
}
]
},
{
"key":"英文.cc",
"value":[
{
"price":"120",
"timeAmount":"1",
"timeUnit":"Y",
},
{
"price":"240",
"timeAmount":"2",
"timeUnit":"Y",
}
]
}
]
}{
"code":"355000",
"msg":"queryType参数不能为空",
"requestId":"mL7Uv3j2gMw0mBF8bj5",
"data":null
}