From b54928a3efca2bed243803f00cdd8af5f6667961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E6=96=87=E9=9B=84?= Date: Thu, 1 Aug 2019 11:52:21 +0800 Subject: [PATCH] opti: doc --- server/plugin.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/plugin.js b/server/plugin.js index 5ca8a477..ddb6bb9a 100755 --- a/server/plugin.js +++ b/server/plugin.js @@ -177,6 +177,14 @@ var hooks = { listener: [] }, + /** + * addNoticePlugin(config) + * + * config.weixin = { + * title: 'wechat', + * hander: (emails, title, content)=> {...} + * } + */ addNotice:{ type: 'multi', listener: []