Update model.go

This commit is contained in:
itboyhan1 2025-05-28 19:44:03 +08:00 committed by GitHub
parent 29f950046a
commit 1ab0e7d80b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,4 +104,6 @@ type Client struct {
SubID string `json:"subId" form:"subId"`
Comment string `json:"comment" form:"comment"`
Reset int `json:"reset" form:"reset"`
MaxDevices int `json:"maxDevices" form:"maxDevices" gorm:"default:0"` // 新增:最大设备数量限制, 0表示不限制
ActiveIPs string `json:"activeIPs" form:"activeIPs" gorm:"type:text"` // 新增当前活动的IP列表 (JSON字符串)
}