This commit is contained in:
aozhiwei 2024-11-13 17:29:20 +08:00
parent f74895f3df
commit 51bc2a913b

View File

@ -25,10 +25,11 @@ func (this *chip) List(accountId string) (error, []*model.Chip) {
}
func (this *chip) CalcScore(accountId string) {
/*
nowTime := f5.GetApp().GetRealSeconds()
chips := []*model.Chip{}
result := f5.GetApp().GetOrmDb(constant.WHEEL_DB).Table(new(model.Chip).TableName()).Where(
"account_id = ? AND expiretime > ?", accountId, nowTime).Find(&chips)
*/
if result.Error == nil {
}
}