|
@@ -173,6 +173,22 @@ message multipleSaveMsgResp {
|
|
int64 errCount = 3; // 保存出错数量
|
|
int64 errCount = 3; // 保存出错数量
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+message FindUserBuoyMsgReq {
|
|
|
|
+ string userId = 1; //用户id
|
|
|
|
+ int64 pageSize = 2; //大小
|
|
|
|
+}
|
|
|
|
+message FindUserBuoyMsgRes {
|
|
|
|
+ int64 code = 1; //状态码
|
|
|
|
+ string message = 2; //响应消息
|
|
|
|
+ repeated BuoyMessages data = 3; //
|
|
|
|
+ int64 count = 4; //总数
|
|
|
|
+}
|
|
|
|
+message BuoyMessages {
|
|
|
|
+ string id = 1; //消息id
|
|
|
|
+ string buoy_detail = 2; //接收方用户ID
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
service Message {
|
|
service Message {
|
|
//批量保存消息
|
|
//批量保存消息
|
|
rpc multipleSaveMsg (multipleSaveMsgReq) returns (multipleSaveMsgResp);
|
|
rpc multipleSaveMsg (multipleSaveMsgReq) returns (multipleSaveMsgResp);
|
|
@@ -200,4 +216,6 @@ service Message {
|
|
rpc GetMsgType (GetMsgTypeReq) returns (GetMsgTypeRes);
|
|
rpc GetMsgType (GetMsgTypeReq) returns (GetMsgTypeRes);
|
|
//修改用户指定分类下的消息已读未读
|
|
//修改用户指定分类下的消息已读未读
|
|
rpc UpdateMessageRead (UpdateMessageReadReq) returns (UpdateMessageReadResp);
|
|
rpc UpdateMessageRead (UpdateMessageReadReq) returns (UpdateMessageReadResp);
|
|
|
|
+ // 查询指定用户的浮标消息
|
|
|
|
+ rpc FindUserBuoyMsg (FindUserBuoyMsgReq) returns (FindUserBuoyMsgRes);
|
|
}
|
|
}
|