From cbf0b3c05ec4fd75f35996d186e59d34e1262719 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 27 May 2022 15:10:20 +0800 Subject: [PATCH] callback --- internal/push/logic/callback.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/push/logic/callback.go b/internal/push/logic/callback.go index 1ff91cf76..655751dc2 100644 --- a/internal/push/logic/callback.go +++ b/internal/push/logic/callback.go @@ -6,15 +6,11 @@ import ( "Open_IM/pkg/common/constant" "Open_IM/pkg/common/http" commonPb "Open_IM/pkg/proto/sdk_ws" - "fmt" http2 "net/http" ) func callbackOfflinePush(operationID, userID string, info *commonPb.OfflinePushInfo, platformID int32) cbApi.CommonCallbackResp { callbackResp := cbApi.CommonCallbackResp{OperationID: operationID} - fmt.Println(config.Config.Callback.CallbackOfflinePush) - fmt.Println(config.Config.Callback.CallbackUserOnline) - if !config.Config.Callback.CallbackOfflinePush.Enable { return callbackResp }