🆕 支持转发消息到外部服务(暂时只支持socket)

This commit is contained in:
李寻欢
2023-12-06 10:16:52 +08:00
parent 81be5a0f70
commit 63d50b815c
4 changed files with 44 additions and 3 deletions

View File

@@ -5,9 +5,10 @@ import "strings"
// wxHelper
// @description: 微信助手
type wechat struct {
Host string `json:"host" yaml:"host"` // 接口地址
AutoSetCallback bool `json:"autoSetCallback" yaml:"autoSetCallback"` // 是否自动设置回调地址
Callback string `json:"callback" yaml:"callback"` // 回调地址
Host string `json:"host" yaml:"host"` // 接口地址
AutoSetCallback bool `json:"autoSetCallback" yaml:"autoSetCallback"` // 是否自动设置回调地址
Callback string `json:"callback" yaml:"callback"` // 回调地址
Forward []string `json:"forward" yaml:"forward"` // 转发地址
}
// Check