Smail/server/hooks/wechat_push
Jinnrry e6a56b199d
v2.6.2 (#177)
1、修复邮件插入失败
2、插件支持设置页面
3、修复pop3邮箱拉取权限判断
4、修复非管理员账户的附件权限判断

Co-authored-by: jinnrry <i@jinnrry.com>
2024-07-27 20:47:42 +08:00
..
README.md V2.5.0 (#132) 2024-07-02 21:02:00 +08:00
wechat_push.go v2.6.2 (#177) 2024-07-27 20:47:42 +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}}