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 <ho3ein.sanaei@gmail.com>2023-03-17 19:07:49 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-03-17 19:07:49 +0300
commit96786c94189f3d2f3f04c1915529c786228bdf42 (patch)
tree879085e09a3cd485f3246f46be907fe77eb84a1a /web/entity
parentbc56e637376142c370c31b17558fc3778a863bd2 (diff)
alireza
Diffstat (limited to 'web/entity')
-rw-r--r--web/entity/entity.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/web/entity/entity.go b/web/entity/entity.go
index f8572f66..372f5caa 100644
--- a/web/entity/entity.go
+++ b/web/entity/entity.go
@@ -34,11 +34,14 @@ type AllSetting struct {
WebBasePath string `json:"webBasePath" form:"webBasePath"`
TgBotEnable bool `json:"tgBotEnable" form:"tgBotEnable"`
TgBotToken string `json:"tgBotToken" form:"tgBotToken"`
- TgBotChatId int `json:"tgBotChatId" form:"tgBotChatId"`
+ TgBotChatId string `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 {