增加签到预设切换 (#634)

This commit is contained in:
莲宝坏坏坏
2023-03-25 11:06:00 +08:00
committed by GitHub
parent d693f988bb
commit 587d3967ef
3 changed files with 318 additions and 170 deletions

View File

@@ -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
}