This commit is contained in:
wangchuxiao
2022-05-26 18:02:00 +08:00
parent d1651b54ec
commit b4da35a0ab
13 changed files with 359 additions and 126 deletions
+8
View File
@@ -22,3 +22,11 @@ type CommonCallbackResp struct {
ErrMsg string `json:"errMsg"`
OperationID string `json:"operationID"`
}
type UserStatusCallbackReq struct {
CallbackCommand string `json:"callbackCommand"`
OperationID string `json:"operationID"`
UserID string `json:"userID"`
PlatformID int32 `json:"platformID"`
Platform string `json:"platform"`
}
+18
View File
@@ -0,0 +1,18 @@
package call_back_struct
type CallbackUserOnlineReq struct {
UserStatusCallbackReq
Token string `json:"token"`
}
type CallbackUserOnlineResp struct {
CommonCallbackResp
}
type CallbackUserOfflineReq struct {
UserStatusCallbackReq
}
type CallbackUserOfflineResp struct {
CommonCallbackResp
}
+12
View File
@@ -0,0 +1,12 @@
package call_back_struct
import commonPb "Open_IM/pkg/proto/sdk_ws"
type CallbackOfflinePushReq struct {
UserStatusCallbackReq
*commonPb.OfflinePushInfo
}
type CallbackOfflinePushResp struct {
CommonCallbackResp
}