快捷回复列表
请求URL:
/getQuickReplyList
请求方式:
- POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| 无 | 无 | 无 | 无 |
返回示例
{
"code": 200,
"msg": "SUCCESS",
"data": {
"list": [
{
"id": 13,
"title": "剧情互动",
"isShow": 1,
"pid": 0,
"role": "system",
"systemPrompt": "",
"children": [
{
"id": 14,
"title": "普通续写",
"isShow": 1,
"pid": 13,
"role": "system",
"systemPrompt": ""
}
]
},
{
"id": 16,
"title": "Nsfw互动",
"isShow": 1,
"pid": 0,
"role": "system",
"systemPrompt": "",
"children": null
}
],
"totalCount": 15,
"useCount": 0
}
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 提示信息 |
| data | map | 数据结构 |
| -totalCount | int | 总共可用次数(-1表示无限制) |
| -useCount | int | 已用次数 |
| -list | array | 数据列表 |
| --id | int | 分类ID |
| --title | string | 分类标题 |
| --children | array | 快捷回复配置列表 |
| ---id | int | 快捷回复配置ID |
| ---title | string | 快捷回复配置标题 |
备注