20260706170339

This commit is contained in:
oneao committed 2026-07-06 17:03:39 +08:00
1 parent ae99f50f6d
commit 4d1e6c8b8f
50 files changed
+3045 -2249

No files matched your search

+2 -2
View File
@@ -247,8 +247,8 @@ func (c *Client) handleSend(msg clientSendMsg) {
"sort_order": i,
})
}
if err := dbClient.BatchInsert(ctx, "b_file", "id", fileInserts); err != nil {
log.Printf("[chat] insert b_file error: %v", err)
if err := dbClient.BatchInsert(ctx, "b_chat_file", "id", fileInserts); err != nil {
log.Printf("[chat] insert b_chat_file error: %v", err)
}
}