Smail/backend/hooks/wechat_push
smail 6de4a1cae3
Some checks are pending
Security Checks / security (push) Waiting to run
统一修复未知收件人超管限定与全部控制器Unicode转义
2026-09-10 22:27:27 +08:00
..
README.md 整理前后端与测试构建目录并完善配置和安全引导 2026-09-05 19:19:52 +08:00
wechat_push_test.go 统一修复未知收件人超管限定与全部控制器Unicode转义 2026-09-10 22:27:27 +08:00
wechat_push.go 修复审查发现的认证配置邮件协议及前端问题 2026-09-06 13:02:02 +08:00

How To Ues / 如何使用

Copy plugin binary file to /plugins

复制插件二进制文件到/plugins文件夹

add config.json to /plugins/config.com like this:

新建配置文件/plugins/config.com,内容如下

{
  "weChatPushAppId": "", // wechat appid
  "weChatPushSecret": "", // weChat  Secret
  "weChatPushTemplateId": "", // weChat TemplateId
  "weChatPushUserId": "", // weChat UserId
}

WeChat Message Template :

微信推送模板设置:

Template Title: New Email Notice

模板标题:新邮件提醒

Template Content: {{Content.DATA}}

模板内容:{{Content.DATA}}