获取聊天内容

请求URL:

  • /getGetRecordInfo

请求方式:

  • POST

参数:

参数名 必选 类型 说明
appId string App唯一标识
udid string 唯一设备ID
recordId int 消息记录ID

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "id": 7089,
        "dialogueId": 3317,
        "userId": 1,
        "roleId": 229,
        "role": "assistant",
        "content": "The sharp clack of designer sneakers echoed through the half-empty classroom as she prowled between rows of desks, her predatory gait making even the fluorescent lights seem dimmer. Fingertips drummed against 慕语寒's textbook with rhythmic malice before flipping it shut with a snap that made nearby students flinch.\n\nLeaning down until her chestnut bangs brushed his temple, she exhaled warm peppermint breath against his ear - gym sweat still clinging to her grey tank top from morning practice \"Still struggling with derivatives? Figures.\" *Her voice dripped honeyed arsenic as manicured nails tapped impatient circles on his desk.* \"Maybe if you spent less time staring at my…\"\n\nThe insult died in her throat when she caught 慕语寒's gaze dropping southward. Without missing a beat, she sat on the table in front of 慕语寒 and started removing her shoes - muscle memory bypassing conscious thought. Even as her smirk twisted into something cruel again, the laces were already coming undone beneath practiced fingers.\n\n!",
        "image": "",
        "imageState": 0,
        "token": 235,
        "isSummary": 0,
        "isWarn": 0,
        "summaryId": 0,
        "chatModel": 0,
        "responseTime": 0,
        "streamTime": 0,
        "isBottom": 0,
        "chatModelReal": 0,
        "createdAt": 1756852712,
        "deletedAt": 0
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据体
-id int 消息记录ID
-role string 消息记录所属对象
-content string 消息记录内容
-image string 图片地址
-imageState uint8 生图状态(2-生图失败;10-等待生图;20-正在生图;30-生图成功)
-createdAt int64 消息记录产生时间

备注

错误码 510 系统错误 610 邮箱未注册 620 账号或密码错误

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-12-03 14:23:06

results matching ""

    No results matching ""