feat: 添加任务标题字段,优化跟踪任务的创建和查询功能

This commit is contained in:
TsMask
2025-05-12 19:06:51 +08:00
parent ef0f958b73
commit fc368fb7f9
5 changed files with 64 additions and 28 deletions

View File

@@ -14,6 +14,7 @@ type TraceTask struct {
DstIp string `json:"dstIp" gorm:"column:dst_ip"` // 目标地址IP
CreateBy string `json:"createBy" gorm:"column:create_by"` // 创建者
CreateTime int64 `json:"createTime" gorm:"column:create_time"` // 创建时间
Title string `json:"title" gorm:"column:title" binding:"required"` // 任务标题
Remark string `json:"remark" gorm:"column:remark"` // 备注
NeList string `json:"neList" gorm:"column:ne_list" binding:"required"` // 网元列表 neType_neId 例如 UDM_001,AMF_001
NotifyUrl string `json:"notifyUrl" gorm:"column:notify_url"` // 信息数据通知回调地址UDP 例如udp:192.168.5.58:33033