修复节点更新问题
This commit is contained in:
@@ -4,7 +4,7 @@ type Config struct {
|
||||
Id int `gorm:"column:id;primaryKey"`
|
||||
GatewayMac string `gorm:"column:macaddr"`
|
||||
Table string `gorm:"column:table"`
|
||||
Macaddr string `gorm:"column:edge"`
|
||||
EdgeMac string `gorm:"column:edge"`
|
||||
Network string `gorm:"column:network"`
|
||||
Cityhash string `gorm:"column:cityhash"`
|
||||
CityLabel string `gorm:"column:label"`
|
||||
@@ -25,7 +25,7 @@ type ConfigUpdate struct {
|
||||
Id int `gorm:"column:id;primaryKey"`
|
||||
GatewayMac *string `gorm:"column:macaddr"`
|
||||
Table *string `gorm:"column:table"`
|
||||
Macaddr *string `gorm:"column:edge"`
|
||||
EdgeMac *string `gorm:"column:edge"`
|
||||
Network *string `gorm:"column:network"`
|
||||
Cityhash *string `gorm:"column:cityhash"`
|
||||
CityLabel *string `gorm:"column:label"`
|
||||
|
||||
Reference in New Issue
Block a user