mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
add force update server api (#13)
This commit is contained in:
1 parent
c74987490d
commit
1c3fd9af1c
4 files changed
+50
-3
No files matched your search
@@ -27,3 +27,9 @@ type ServerForm struct {
|
||||
EnableDDNS bool `json:"enable_ddns,omitempty" validate:"optional"` // 启用DDNS
|
||||
DDNSProfiles []uint64 `gorm:"-" json:"ddns_profiles,omitempty"` // DDNS配置
|
||||
}
|
||||
|
||||
type ForceUpdateResponse struct {
|
||||
Success []uint64 `json:"success,omitempty" validate:"optional"`
|
||||
Failure []uint64 `json:"failure,omitempty" validate:"optional"`
|
||||
Offline []uint64 `json:"offline,omitempty" validate:"optional"`
|
||||
}
|
||||
Reference in new issue
Block a user