diff --git a/etc/server.yml b/etc/server.yml index 7fbf23f6..02ac49f3 100644 --- a/etc/server.yml +++ b/etc/server.yml @@ -54,6 +54,27 @@ rdb: autoRegist: true tls: false startTLS: false + sender: + mail: + # three choice: smtp|shell|api + way: smtp + worker: 10 + api: http://127.0.0.1:2008/mail + sms: + # two choice: shell|api + way: api + worker: 10 + api: http://127.0.0.1:2008/sms + voice: + # two choice: shell|api + way: shell + worker: 10 + api: http://127.0.0.1:2008/voice + im: + # five choice: shell|api|wechat|wechat_robot|dingtalk_robot + way: shell + worker: 10 + api: http://127.0.0.1:2008/im ## for enterprise edition #sso: # enable: false @@ -169,4 +190,9 @@ judge: connTimeout: 1000 callTimeout: 2000 indexCallTimeout: 2000 - indexMod: server \ No newline at end of file + indexMod: server + +wechat: + corp_id: "xxxxxxxxxxxxx" + agent_id: 1000000 + secret: "xxxxxxxxxxxxxxxxx" \ No newline at end of file