Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <33454419+MHSanaei@users.noreply.github.com>2023-03-23 22:52:50 +0300
committerMHSanaei <33454419+MHSanaei@users.noreply.github.com>2023-03-23 22:52:50 +0300
commit5ef8a5a37ec7e6b7df710fa61b0324ab5a6617ab (patch)
tree8356d79072560de703f6dbc1d26fa5d51a6d5ac1 /web/entity/entity.go
parentc49a9e877cb8481a98564b45f3462f8f73189f6e (diff)
old designv1.0.9
Diffstat (limited to 'web/entity/entity.go')
-rw-r--r--web/entity/entity.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/web/entity/entity.go b/web/entity/entity.go
index 372f5caa..f8572f66 100644
--- a/web/entity/entity.go
+++ b/web/entity/entity.go
@@ -34,14 +34,11 @@ type AllSetting struct {
WebBasePath string `json:"webBasePath" form:"webBasePath"`
TgBotEnable bool `json:"tgBotEnable" form:"tgBotEnable"`
TgBotToken string `json:"tgBotToken" form:"tgBotToken"`
- TgBotChatId string `json:"tgBotChatId" form:"tgBotChatId"`
+ TgBotChatId int `json:"tgBotChatId" form:"tgBotChatId"`
TgRunTime string `json:"tgRunTime" form:"tgRunTime"`
- TgBotBackup bool `json:"tgBotBackup" form:"tgBotBackup"`
- TgExpireDiff int `json:"tgExpireDiff" form:"tgExpireDiff"`
- TgTrafficDiff int `json:"tgTrafficDiff" form:"tgTrafficDiff"`
- TgCpu int `json:"tgCpu" form:"tgCpu"`
XrayTemplateConfig string `json:"xrayTemplateConfig" form:"xrayTemplateConfig"`
- TimeLocation string `json:"timeLocation" form:"timeLocation"`
+
+ TimeLocation string `json:"timeLocation" form:"timeLocation"`
}
func (s *AllSetting) CheckValid() error {