style: 网元信息字段注释,补充排序SMSF、CHF
This commit is contained in:
@@ -14,7 +14,7 @@ type NeInfo struct {
|
|||||||
VendorName string `json:"vendorName" gorm:"vendor_name"`
|
VendorName string `json:"vendorName" gorm:"vendor_name"`
|
||||||
Dn string `json:"dn" gorm:"dn"`
|
Dn string `json:"dn" gorm:"dn"`
|
||||||
NeAddress string `json:"neAddress" gorm:"ne_address"` // MAC地址
|
NeAddress string `json:"neAddress" gorm:"ne_address"` // MAC地址
|
||||||
HostIDs string `json:"hostIds" gorm:"host_ids"` // 网元主机ID组 数据格式(ssh,telnet,telnet)
|
HostIDs string `json:"hostIds" gorm:"host_ids"` // 网元主机ID组 数据格式(ssh,telnet) UDM(ssh,telnet,redis) UPF(ssh,telnet,telnet)
|
||||||
Status string `json:"status" gorm:"status"` // 0离线 1在线 2配置待下发
|
Status string `json:"status" gorm:"status"` // 0离线 1在线 2配置待下发
|
||||||
Remark string `json:"remark" gorm:"remark"` // 备注
|
Remark string `json:"remark" gorm:"remark"` // 备注
|
||||||
CreateBy string `json:"createBy" gorm:"create_by"` // 创建者
|
CreateBy string `json:"createBy" gorm:"create_by"` // 创建者
|
||||||
|
|||||||
@@ -30,7 +30,9 @@ var neListSort = []string{
|
|||||||
"N3IWF",
|
"N3IWF",
|
||||||
"MOCNGW",
|
"MOCNGW",
|
||||||
"SMSC",
|
"SMSC",
|
||||||
|
"SMSF",
|
||||||
"CBC",
|
"CBC",
|
||||||
|
"CHF",
|
||||||
}
|
}
|
||||||
|
|
||||||
// 实例化数据层 NeInfo 结构体
|
// 实例化数据层 NeInfo 结构体
|
||||||
|
|||||||
Reference in New Issue
Block a user