From 65398fb1472049b996c126957c8660aa20011402 Mon Sep 17 00:00:00 2001 From: wenxu12345 <44203734@qq.com> Date: Thu, 2 Dec 2021 21:35:01 +0800 Subject: [PATCH] callback config --- config/config.yaml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/config/config.yaml b/config/config.yaml index 7dd3403b0..02dbc6638 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -79,7 +79,15 @@ rpcport: openImGroupPort: [ 10500 ] openImAuthPort: [ 10600 ] openImPushPort: [ 10700 ] - + c2c: + callbackBeforeSendMsg: + switch: false + timeoutStrategy: 1 #1:send + callbackAfterSendMsg: + switch: false + state: + stateChange: + switch: false rpcregistername: openImUserName: User @@ -139,11 +147,18 @@ tokenpolicy: accessExpire: 7 messagecallback: - callbackSwitch: false callbackUrl: "http://www.xxx.com/msg/judge" #TimeOut use second as unit callbackTimeOut: 10 - + c2c: + callbackBeforeSendMsg: + switch: false + timeoutStrategy: 1 #1:send + callbackAfterSendMsg: + switch: false + state: + stateChange: + switch: false #---------------demo configuration---------------------# #The following configuration items are applied to openIM Demo configuration