no message

This commit is contained in:
sk 2025-03-05 17:41:47 +08:00
parent 118ec8ef8b
commit cd0a7f84da
1 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import (
"fmt"
"go.mongodb.org/mongo-driver/bson/primitive"
"math/rand"
"mongo.games.com/goserver/core/mongox"
"time"
"github.com/globalsign/mgo/bson"
@ -304,3 +305,11 @@ type JybCodeLog struct {
SnId int32 `bson:"snid"` // 玩家id
Code string `bson:"code"` // 兑换码
}
func (j *JybCodeLog) DatabaseName() string {
return string(mongox.DatabaseLog)
}
func (j *JybCodeLog) CollectionName() string {
return "log_jybcode"
}