优化表结构,重构模型,重新实现基于白银网关的提取节点流程

This commit is contained in:
2025-11-24 18:44:06 +08:00
parent 9a574f55cb
commit cb2a963a37
142 changed files with 6528 additions and 5808 deletions

View File

@@ -0,0 +1,13 @@
package models
import (
"time"
)
// LogsUserBandwidth 用户带宽日志表
type LogsUserBandwidth struct {
ID int32 `json:"id" gorm:"column:id;not null"` // 日志ID
UserID int32 `json:"user_id" gorm:"column:user_id"` // 用户ID
Bandwidth int32 `json:"bandwidth" gorm:"column:bandwidth"` // 带宽使用量(KB)
Time time.Time `json:"time" gorm:"column:time"` // 记录时间
}