bug修改

This commit is contained in:
wangjian 2023-06-17 09:41:02 +08:00
parent ba792eb22c
commit f310341fa6
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,8 @@ type Node struct {
Arch string `xorm:"varchar(1000)" json:"arch,omitempty"`
Virtualization string `xorm:"varchar(1000)" json:"virtualization,omitempty"`
BootTime uint64 `xorm:"BIGINT" json:"bootTime,omitempty"`
IP string `xorm:"varchar(100)" json:"ip"`
IP string `xorm:"varchar(100)" json:"ip"` //互联网显示地址
LocalIP string `xorm:"VARCHAR(100)" json:"localIP"` //本地局域网IP地址
CountryCode string `xorm:"varchar(100)" json:"countryCode,omitempty"`
Version string `xorm:"varchar(100)" json:"version,omitempty"`
CreateAt int64 `xorm:"created" json:"createAt"`
@ -63,6 +64,7 @@ func (n Node) Insert() {
node.Virtualization = n.Virtualization
node.BootTime = n.BootTime
node.IP = n.IP
node.LocalIP = n.LocalIP
node.CountryCode = n.CountryCode
node.Version = n.Version
if b {