Smail/server/hooks/wechat_push
Jinnrry 054336fe9e
v2.6.1 (#169)
1、新增垃圾邮件过滤插件
2、使用使用github.com/dlclark/regexp2替换go原生的正则包
3、修复空数据导致的邮件插入失败
2024-07-20 10:39:17 +08:00
..
README.md V2.5.0 (#132) 2024-07-02 21:02:00 +08:00
wechat_push.go v2.6.1 (#169) 2024-07-20 10:39:17 +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}}