mirror of https://github.com/bjdgyc/anylink.git
修复access_proto字段导致无法启动的问题
This commit is contained in:
parent
d5f88affcd
commit
86a4ed8948
|
@ -66,7 +66,7 @@ type AccessAudit struct {
|
||||||
SrcPort uint16 `json:"src_port" xorm:"not null"`
|
SrcPort uint16 `json:"src_port" xorm:"not null"`
|
||||||
Dst string `json:"dst" xorm:"varchar(60) not null"`
|
Dst string `json:"dst" xorm:"varchar(60) not null"`
|
||||||
DstPort uint16 `json:"dst_port" xorm:"not null"`
|
DstPort uint16 `json:"dst_port" xorm:"not null"`
|
||||||
AccessProto uint8 `json:"access_proto" xorm:"not null"` // 访问协议
|
AccessProto uint8 `json:"access_proto" xorm:"not null default 0 Int(10)"` // 访问协议
|
||||||
Info string `json:"info" xorm:"varchar(255) not null"` // 详情
|
Info string `json:"info" xorm:"varchar(255) not null"` // 详情
|
||||||
CreatedAt time.Time `json:"created_at" xorm:"DateTime"`
|
CreatedAt time.Time `json:"created_at" xorm:"DateTime"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue