mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
add setting api (#461)
This commit is contained in:
1 parent
8bfe70d519
commit
70b914d535
8 files changed
+143
-90
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package model
|
||||
|
||||
type SettingForm struct {
|
||||
CustomNameservers string `json:"custom_nameservers,omitempty"`
|
||||
IgnoredIPNotification string `json:"ignored_ip_notification,omitempty"`
|
||||
IPChangeNotificationGroupID uint64 `json:"ip_change_notification_group_id,omitempty"` // IP变更提醒的通知组
|
||||
Cover uint8 `json:"cover,omitempty"`
|
||||
SiteName string `json:"site_name,omitempty"`
|
||||
Language string `json:"language,omitempty"`
|
||||
InstallHost string `json:"install_host,omitempty"`
|
||||
CustomCode string `json:"custom_code,omitempty"`
|
||||
CustomCodeDashboard string `json:"custom_code_dashboard,omitempty"`
|
||||
|
||||
EnableIPChangeNotification bool `json:"enable_ip_change_notification,omitempty"`
|
||||
EnablePlainIPInNotification bool `json:"enable_plain_ip_in_notification,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user