no message
This commit is contained in:
parent
118ec8ef8b
commit
cd0a7f84da
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue