feat: cdr事件推入ws

This commit is contained in:
TsMask
2024-01-26 20:35:40 +08:00
parent c01c3fb431
commit 1279d0fd15
2 changed files with 6 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ type CDREvent struct {
NeName string `json:"neName" gorm:"column:ne_name"`
RmUID string `json:"rmUID" gorm:"column:rm_uid"`
Timestamp int64 `json:"timestamp" gorm:"column:timestamp"`
CDRJSONStr string `json:"cdrJson" gorm:"column:cdr_json"`
CDRJSONStr string `json:"cdrJSON" gorm:"column:cdr_json"`
CreatedAt time.Time `json:"createdAt" gorm:"column:created_at;default:CURRENT_TIMESTAMP"`
}