From 3f126be081829d9b5b377101717ce9b1e0f26580 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 27 May 2022 15:14:12 +0800 Subject: [PATCH] callback --- config/config.yaml | 2 +- pkg/base_info/manage_api_struct.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.yaml b/config/config.yaml index ca992ee8c..481bbc103 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -281,7 +281,7 @@ callback: enable: false callbackTimeOut: 2 callbackOfflinePush: - enable: true + enable: false callbackTimeOut: 2 callbackFailedContinue: true # 回调超时是否继续离线推送 diff --git a/pkg/base_info/manage_api_struct.go b/pkg/base_info/manage_api_struct.go index f8515dd5b..2c850a8eb 100644 --- a/pkg/base_info/manage_api_struct.go +++ b/pkg/base_info/manage_api_struct.go @@ -41,7 +41,7 @@ type AccountCheckResp struct { type ManagementSendMsgReq struct { OperationID string `json:"operationID" binding:"required"` - SendID string `json:"sendID" binding:"required"` + SendID string `json:"sendID"` RecvID string `json:"recvID" ` GroupID string `json:"groupID" ` SenderNickname string `json:"senderNickname" `