Smail/backend/hooks/wechat_push
smail 66d2c957d9
Some checks are pending
Security Checks / security (push) Waiting to run
补全微信验证码提取边界处理和回归用例
2026-09-28 00:00:02 +08:00
..
README.md 整理前后端与测试构建目录并完善配置和安全引导 2026-09-05 19:19:52 +08:00
verification_code.go 补全微信验证码提取边界处理和回归用例 2026-09-28 00:00:02 +08:00
wechat_push_test.go 补全微信验证码提取边界处理和回归用例 2026-09-28 00:00:02 +08:00
wechat_push.go 微信验证码提取基础实现检查点 2026-09-27 23:53:33 +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}}