完善 channel remove 测试用例

This commit is contained in:
2025-04-03 13:30:57 +08:00
parent 116fa8ec18
commit 309aa6d0e2
9 changed files with 388 additions and 278 deletions

View File

@@ -30,6 +30,9 @@ type Channel struct {
CreatedAt time.Time `gorm:"column:created_at;default:CURRENT_TIMESTAMP;comment:创建时间" json:"created_at"` // 创建时间
UpdatedAt time.Time `gorm:"column:updated_at;default:CURRENT_TIMESTAMP;comment:更新时间" json:"updated_at"` // 更新时间
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"` // 删除时间
Node *Node `json:"node"`
User *User `json:"user"`
Proxy *Proxy `json:"proxy"`
}
// TableName Channel's table name