Smail/backend/hooks/wechat_push
smail f60d3b0880
Some checks are pending
Security Checks / security (push) Waiting to run
整理前后端与测试构建目录并完善配置和安全引导
统一 frontend、backend、test、test-log 和 out 目录,更新构建、部署及测试入口;纳入配置管理兼容与首次安全引导修复;排除本机配置、密钥和测试产物。
2026-09-05 19:19:52 +08:00
..
README.md 整理前后端与测试构建目录并完善配置和安全引导 2026-09-05 19:19:52 +08:00
wechat_push_test.go 整理前后端与测试构建目录并完善配置和安全引导 2026-09-05 19:19:52 +08:00
wechat_push.go 整理前后端与测试构建目录并完善配置和安全引导 2026-09-05 19:19:52 +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}}