✨ 任意时间区间(月流量)统计,无视重启~

This commit is contained in:
naiba committed 2021-07-14 23:53:37 +08:00
1 parent b293242088
commit f7e9ea72dd
16 files changed
+290 -77

No files matched your search

+2 -2
View File
@@ -8,8 +8,8 @@ const CacheKeyOauth2State = "p:a:state"
const CacheKeyServicePage = "p:c:service"
type Common struct {
ID uint64 `gorm:"primary_key"`
CreatedAt time.Time
ID uint64 `gorm:"primary_key"`
CreatedAt time.Time `sql:"index"`
UpdatedAt time.Time
DeletedAt *time.Time `sql:"index"`
}