mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-29 02:42:51 +00:00
некоторое исправление
This commit is contained in:
parent
b687487aff
commit
0faf959c49
1 changed files with 7 additions and 7 deletions
|
|
@ -121,11 +121,11 @@ type Client struct {
|
|||
}
|
||||
|
||||
type Server struct {
|
||||
Id int `json:"id" gorm:"primaryKey;autoIncrement" form:"id"`
|
||||
Name string `json:"name" gorm:"unique;not null" form:"name"`
|
||||
Address string `json:"address" gorm:"not null" form:"address"`
|
||||
Port int `json:"port" gorm:"not null" form:"port"`
|
||||
SecretWebPath string `json:"secretWebPath" gorm:"not null" form:"secretWebPath"`
|
||||
APIKey string `json:"apiKey" gorm:"not null" form:"apiKey"`
|
||||
Enable bool `json:"enable" gorm:"default:true" form:"enable"`
|
||||
Id int `json:"id" gorm:"primaryKey;autoIncrement" form:"id"`
|
||||
Name string `json:"name" gorm:"unique;not null" form:"name"`
|
||||
Address string `json:"address" gorm:"not null" form:"address"`
|
||||
Port int `json:"port" gorm:"not null" form:"port"`
|
||||
SecretWebPath string `json:"secretWebPath" form:"secretWebPath"`
|
||||
APIKey string `json:"apiKey" gorm:"not null" form:"apiKey"`
|
||||
Enable bool `json:"enable" gorm:"default:true" form:"enable"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue