From ceb83a8eb42272d110dc7fdc756e8ba7b3b07dfd Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Fri, 10 Jan 2025 14:55:36 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E7=BA=A2=E5=8C=85=E9=A2=86=E5=8F=96?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/redpacket.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/model/redpacket.go b/model/redpacket.go index 112da34..f761420 100644 --- a/model/redpacket.go +++ b/model/redpacket.go @@ -87,6 +87,14 @@ type RedPacketHistory struct { ItemNum int64 // 道具数量 } +func (r *RedPacketHistory) DatabaseName() string { + return "log" +} + +func (r *RedPacketHistory) CollectionName() string { + return "log_redpackethistory" +} + type GetRedPacketHistoryReq struct { Plt string Snid int32