feat: Add web push hook functionality and configuration options
This commit is contained in:
1 parent
483bfa14c1
commit
1b2b3a33ee
10 files changed
+142
-18
No files matched your search
@@ -17,6 +17,8 @@
|
||||
"weChatPushUserId": "",
|
||||
"tgChatId": "",
|
||||
"tgBotToken": "",
|
||||
"webPushUrl": "",
|
||||
"webPushToken": "",
|
||||
"isInit": true,
|
||||
"httpsEnabled": 2
|
||||
}
|
||||
@@ -32,6 +32,8 @@ type Config struct {
|
||||
TgBotToken string `json:"tgBotToken"`
|
||||
TgChatId string `json:"tgChatId"`
|
||||
IsInit bool `json:"isInit"`
|
||||
WebPushUrl string `json:"webPushUrl"`
|
||||
WebPushToken string `json:"webPushToken"`
|
||||
Tables map[string]string `json:"-"`
|
||||
TablesInitData map[string]string `json:"-"`
|
||||
}
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
"weChatPushUserId": "",
|
||||
"tgChatId": "",
|
||||
"tgBotToken": "",
|
||||
"webPushUrl": "",
|
||||
"webPushToken": "",
|
||||
"isInit": true,
|
||||
"httpsEnabled": 1
|
||||
}
|
||||
@@ -17,6 +17,8 @@
|
||||
"weChatPushUserId": "",
|
||||
"tgChatId": "",
|
||||
"tgBotToken": "",
|
||||
"webPushUrl": "",
|
||||
"webPushToken": "",
|
||||
"isInit": true,
|
||||
"httpsEnabled": 2
|
||||
}
|
||||
Reference in new issue
Block a user