[Bug]: HTTP接口返回的message里的serverId与导出方式中的platformMessageId值不一样,且两者就末尾几位不一样(因为一个返回的是string,一个是number)?是精度问题导致的?

Fixes #838
This commit is contained in:
xuncha
2026-04-25 14:57:32 +08:00
parent 2c01951791
commit 69f834ca42
3 changed files with 30 additions and 5 deletions

View File

@@ -165,7 +165,7 @@ curl "http://127.0.0.1:5031/api/v1/messages?talker=xxx@chatroom&media=1&image=1&
单条消息字段:
- `localId`
- `serverId`
- `serverId`(原始 64 位 ID 字符串,避免 JS number 精度丢失)
- `localType`
- `createTime`
- `isSend`
@@ -194,7 +194,7 @@ curl "http://127.0.0.1:5031/api/v1/messages?talker=xxx@chatroom&media=1&image=1&
"messages": [
{
"localId": 123,
"serverId": "456",
"serverId": "6116895530414915131",
"localType": 1,
"createTime": 1738713600,
"isSend": 0,