feat: AMF事件UE数据导出

This commit is contained in:
TsMask
2024-06-07 17:27:11 +08:00
parent b3dd0d6643
commit 01d6a10657
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ type UEEvent struct {
ID string `json:"id" gorm:"column:id;primaryKey;autoIncrement"`
NeType string `json:"neType" gorm:"column:ne_type"`
NeName string `json:"neName" gorm:"column:ne_name"`
RmUID string `json:"rmUID" gorm:"column:rm_uid"`
RmUID string `json:"rmUID" gorm:"column:rm_uid"` // 可能没有
Timestamp int64 `json:"timestamp" gorm:"column:timestamp"`
EventType string `json:"eventType" gorm:"column:event_type"`
EventJSONStr string `json:"eventJSON" gorm:"column:event_json"`

View File

@@ -95,7 +95,7 @@ func (r *UEEventImpl) SelectPage(querys model.UEEventQuery) map[string]any {
result := map[string]any{
"total": 0,
"rows": []model.CDREvent{},
"rows": []model.UEEvent{},
}
// 查询数量 长度为0直接返回