mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-03-01 18:40:26 +00:00
增加签到预设切换 (#634)
This commit is contained in:
@@ -122,3 +122,14 @@ func (sdb *scoredb) GetScoreRankByTopN(n int) (st []scoretable, err error) {
|
||||
err = db.Model(&scoretable{}).Order("score desc").Limit(n).Find(&st).Error
|
||||
return
|
||||
}
|
||||
|
||||
type scdata struct {
|
||||
drawedfile string
|
||||
picfile string
|
||||
uid int64
|
||||
nickname string
|
||||
inc int //增加币
|
||||
score int //钱包
|
||||
level int
|
||||
rank int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user