Skip to content

Commit

Permalink
fix: 将需要获取用户信息但遗漏的部分补全,同一所有的用户信息都用usermeta传递
Browse files Browse the repository at this point in the history
  • Loading branch information
universero committed Aug 7, 2024
1 parent e4bfe6a commit 319d0ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion meowcloud/action/follow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ message GetFollowedUsersResp {

// 获取用户关注过对象请求
message GetUserFollowedReq {
string userId = 1;
basic.UserMeta user = 1;
TargetType targetType = 2;
basic.PaginationOptions paginationOption = 3;
}
Expand All @@ -77,6 +77,7 @@ message GetUserFollowedResp {
message GetFollowedReq {
string targetId = 1;
TargetType targetType = 2;
basic.UserMeta user = 3;
}

message GetFollowedResp {
Expand Down
3 changes: 2 additions & 1 deletion meowcloud/action/like.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ message GetLikedUsersResp {

// 获取用户点赞过对象请求
message GetUserLikedReq {
string userId = 1;
basic.UserMeta user = 1;
TargetType targetType = 2;
basic.PaginationOptions paginationOption = 3;
}
Expand All @@ -77,6 +77,7 @@ message GetUserLikedResp {
message GetLikedReq {
string targetId = 1;
TargetType targetType = 2;
basic.UserMeta user = 3;
}

message GetLikedResp {
Expand Down
3 changes: 2 additions & 1 deletion meowcloud/action/share.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ message GetSharedUsersResp {

// 获取用户分享过对象请求
message GetUserSharedReq {
string userId = 1;
basic.UserMeta user = 1;
TargetType targetType = 2;
basic.PaginationOptions paginationOption = 3;
}
Expand All @@ -66,6 +66,7 @@ message GetUserSharedResp {
message GetSharedReq {
string targetId = 1;
TargetType targetType = 2;
basic.UserMeta user = 3;
}

message GetSharedResp {
Expand Down

0 comments on commit 319d0ed

Please sign in to comment.