This commit is contained in:
akrike
2025-06-01 14:23:24 +08:00
parent d533d345ec
commit 3f8ef92b19
4 changed files with 12 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ func (*Process) TableName() string {
}
type ProcessShare struct {
Minute int `json:"minute"`
Pid int `json:"pid"`
Write bool `json:"write"`
Minutes int `json:"minutes"`
Pid int `json:"pid"`
Write bool `json:"write"`
}

View File

@@ -9,5 +9,6 @@ type WsShare struct {
Pid int `gorm:"column:pid" json:"pid"`
Write bool `gorm:"column:write" json:"write"`
ExpireTime time.Time `gorm:"column:expire_time" json:"expireTime"`
CreateBy string `gorm:"column:create_by" json:"createBy"`
Token string `gorm:"column:token" json:"token"`
}