开放入库数据

This commit is contained in:
liuwei
2025-04-28 11:44:56 +08:00
parent f6fc5ad159
commit bc2cdce626

View File

@@ -82,7 +82,7 @@ class MessageStorage:
'success': result,
'roomid': msg.roomid,
'sender': msg.sender,
'content': msg.content, # 添加消息内容
'content': msg.content.raw_content, # 添加消息内容
'message_id': msg.msg_id # 添加消息ID
}
except Exception as e:
@@ -91,7 +91,7 @@ class MessageStorage:
'success': False,
'roomid': msg.roomid,
'sender': msg.sender,
'content': msg.content, # 添加消息内容
'content': msg.content.raw_content, # 添加消息内容
'message_id': msg.msg_id, # 添加消息ID
'error': str(e)
}