123456789101112131415161718192021222324252627282930313233 |
- package model
- import "time"
- // config properties.
- const (
- LimitBlockCount = "limitBlockCount"
- LessBlockScore = "lessBlockScore"
- AutoBlock = "autoBlock"
- AutoBlockOpen = 1
- )
- const (
- //PunishmentTypeBlock 封禁
- PunishmentTypeBlock = 1
- //BlockReasonSize block reason size
- BlockReasonSize = 3
- //BlockLockKey cycle block
- BlockLockKey = "cycleblock"
- //ReportJobKey report job
- ReportJobKey = "reportjob"
- //DefLockTime def.
- DefLockTime int64 = 60
- )
- // Config def.
- type Config struct {
- ID int64
- Property string
- Name string
- Val string
- Ctime time.Time
- }
|