# getQueryHistoryList
获取历史对话记录
# 请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
param | Object | Y | {}属性: offset:{Type: Number, Default: N/A, Description: 偏移量 } num:{Type: Number, Default: N/A, Description: 数量 } timeline:{Type: String, Default: N/A, Description: 其实时间戳 } speakerId:{Type: String, Default: N/A, Description: 音箱ID } speakerDeviceId:`{ Type: String, Default: N/A, Description: 音箱设备ID } | 请求参数 |
# 接口调用示例
soundModule.getQueryHistoryList(param, (resp) => {
this.$alert("成功")
}, (error) => {
this.$toast("失败")
})
1
2
3
4
5
2
3
4
5
# 返回参数
- 成功时返回
| Prop | Type | Default | Description |
|---|---|---|---|
data | Object | N/A | json字符串 |
- 失败时返回
| Prop | Type | Default | Description |
|---|---|---|---|
errorCode | Number | N/A | 失败错误码 |
errorMessage | String | N/A | 错误消息(如有) |