refactor: statistics.go.

This commit is contained in:
2026-04-30 08:54:07 +08:00
parent 2e1570651a
commit 1dabed150b
3 changed files with 84 additions and 20 deletions
+1
View File
@@ -6,6 +6,7 @@ type AIAnalysisRecord struct {
gorm.Model
RegionID *uint32 `gorm:"index" json:"regionId"`
SourceType string `gorm:"size:32" json:"sourceType"`
AnalysisType string `gorm:"size:32" json:"analysisType"`
InputTokens int `json:"inputTokens"`
OutputTokens int `json:"outputTokens"`
InputSizeBytes int `json:"inputSizeBytes"`