From d9b5fc8be025b12a5ebb58cb8ec5881f46e820af Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 26 May 2022 18:08:29 +0800 Subject: [PATCH] callback --- config/config.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config/config.yaml b/config/config.yaml index 34f874dfa..564454409 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -237,7 +237,7 @@ callback: # callback url 需要自行更换callback url callbackUrl : "http://127.0.0.1:8080/callback" # 开启关闭操作前后回调的配置 - callbackbeforeSendSingleMsg: + callbackBeforeSendSingleMsg: enable: false # 回调是否启用 callbackTimeOut: 2 # 回调超时时间 callbackFailedContinue: true # 回调超时是否继续执行代码 @@ -255,7 +255,16 @@ callback: enable: false callbackTimeOut: 2 callbackFailedContinue: true - + callbackUserOnline: + enable: true + callbackTimeOut: 2 + callbackUserOffline: + enable: true + callbackTimeOut: 2 + callbackOfflinePush: + enable: true + callbackTimeOut: 2 + callbackFailedContinue: true # 回调超时是否继续离线推送 notification: groupCreated: