pull/232/head
wangchuxiao 3 years ago
parent 0f0470b93c
commit cbf0b3c05e

@ -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
}

Loading…
Cancel
Save