merge code

This commit is contained in:
wangchuxiao
2022-02-28 17:57:03 +08:00
parent 7d8d314962
commit 0bed7ee669
20 changed files with 341 additions and 57 deletions
+16
View File
@@ -1 +1,17 @@
package call_back_struct
type CommonCallbackReq struct {
CallbackCommand string `json:"callbackCommand"`
ServerMsgID string `json:"serverID"`
ClientID string `json:"clientID"`
OperationID string `json:"operationID"`
}
type CommonCallbackResp struct {
ActionCode int `json:"actionCode"`
ErrCode int `json:"errCode"`
ErrMsg string `json:"errMsg"`
OperationID string `json:"operationID"`
}
+9
View File
@@ -0,0 +1,9 @@
package call_back_struct
type CallbackBeforeCreateGroupReq struct {
CommonCallbackReq
}
type CallbackAfterCreateGroupResp struct {
CommonCallbackResp
}
+60
View File
@@ -1 +1,61 @@
package call_back_struct
type singleMsg struct {
SendID string `json:"sendID"`
RecvID string `json:"recvID"`
ClientMsgID string `json:"clientMsgID"`
ServerMsgID string `json:"serverMsgId"`
SendTime int64 `json:"sendTime"`
CreateTime int64 `json:"createTime"`
}
type CallbackBeforeSendSingleMsgReq struct {
CommonCallbackReq
singleMsg
}
type CallbackBeforeSendSingleMsgResp struct {
CommonCallbackResp
}
type CallbackAfterSendSingleMsgReq struct {
CommonCallbackReq
singleMsg
}
type CallbackAfterSendSingleMsgResp struct {
CommonCallbackResp
}
type groupMsg struct {
}
type CallbackBeforeSendGroupMsgReq struct {
CommonCallbackReq
}
type CallbackBeforeSendGroupMsgResp struct {
CommonCallbackResp
}
type CallbackAfterSendGroupMsgReq struct {
CommonCallbackReq
}
type CallbackAfterSendGroupMsgResp struct {
CommonCallbackResp
}
type CallBackWordFilterReq struct {
CommonCallbackReq
Content []byte `json:"content"`
SendID string `json:"SendID"`
RecvID string `json:"RecvID"`
GroupID string `json:"GroupID"`
}
type CallBackWordFilterResp struct {
CommonCallbackResp
Content []byte `json:"content"`
}