From 8f1fd17f5c5d0e15790b15dff566fcfe2c8388ed Mon Sep 17 00:00:00 2001 From: 710leo <710leo@gmail.com> Date: Mon, 19 Apr 2021 16:44:07 +0800 Subject: [PATCH] add configuration --- etc/server.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) 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