|
@@ -80,9 +80,9 @@ type ReadStateReq {
|
|
|
}
|
|
|
type ChatGroupListReq {
|
|
|
EntId int64 `header:"entId,optional"`
|
|
|
- UserName string `json:"userName"`
|
|
|
- GroupName string `json:"groupName"`
|
|
|
- PositionId int64 `header:"positionId,optional"`
|
|
|
+ UserName string `json:"userName,optional"`
|
|
|
+ GroupName string `json:"groupName,optional"`
|
|
|
+ PositionId int64 `header:"positionId"`
|
|
|
Appid string `header:"appId"`
|
|
|
}
|
|
|
type ChatGroupAddReq {
|
|
@@ -98,7 +98,7 @@ type ChatGroupPersonReq {
|
|
|
}
|
|
|
type ChatGroupJoinReq {
|
|
|
ChatGroupId string `json:"chatGroupId"`
|
|
|
- PositionId int64 `json:"positionId"`
|
|
|
+ PositionId int64 `header:"positionId"`
|
|
|
Appid string `header:"appId"`
|
|
|
UserIdArr []string `json:"userIdArr"`
|
|
|
}
|
|
@@ -152,21 +152,21 @@ service messagecenter-api {
|
|
|
post /message/obtainShunt (ShuntReq) returns (CommonRes);
|
|
|
@handler updateReadById
|
|
|
post /message/updateReadById (ReadStateReq) returns (CommonRes);
|
|
|
- @handler chatGroupList
|
|
|
+ @handler chatGroupList //群组列表
|
|
|
post /message/chatGroupList (ChatGroupListReq) returns (CommonRes);
|
|
|
- @handler chatGroupAdd
|
|
|
+ @handler chatGroupAdd //群组新增
|
|
|
post /message/chatGroupAdd (ChatGroupAddReq) returns (CommonRes);
|
|
|
- @handler chatGroupPerson
|
|
|
+ @handler chatGroupPerson //群组成员
|
|
|
post /message/chatGroupPerson (ChatGroupPersonReq) returns (CommonRes);
|
|
|
- @handler chatGroupJoin
|
|
|
+ @handler chatGroupJoin //拉人入群
|
|
|
post /message/chatGroupJoin (ChatGroupJoinReq) returns (CommonRes);
|
|
|
- @handler groupNameUpdate
|
|
|
+ @handler groupNameUpdate //群组名称修改
|
|
|
post /message/groupNameUpdate (GroupNameUpdateReq) returns (CommonRes);
|
|
|
- @handler groupNoticeAdd
|
|
|
+ @handler groupNoticeAdd //群任务发布
|
|
|
post /message/groupNoticeAdd (GroupNoticeAddReq) returns (CommonRes);
|
|
|
- @handler groupNoticeUpdate
|
|
|
+ @handler groupNoticeUpdate //群任务修改
|
|
|
post /message/groupNoticeUpdate (GroupNoticeUpdateReq) returns (CommonRes);
|
|
|
- @handler groupNoticeGet
|
|
|
+ @handler groupNoticeGet //群任务获取
|
|
|
post /message/groupNoticeGet (ChatGroupPersonReq) returns (CommonRes);
|
|
|
@handler withdrawMessage //撤回消息
|
|
|
post /message/withdrawMessage (ReadWithdrawReq) returns (CommonRes);
|