开放入库数据

This commit is contained in:
liuwei
2025-04-28 11:50:00 +08:00
parent bc2cdce626
commit 1f8f67ef5a

View File

@@ -82,7 +82,7 @@ class MessageStorage:
'success': result,
'roomid': msg.roomid,
'sender': msg.sender,
'content': msg.content.raw_content, # 添加消息内容
'content': str(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.raw_content, # 添加消息内容
'content': str(msg.content.raw_content), # 添加消息内容
'message_id': msg.msg_id, # 添加消息ID
'error': str(e)
}