Ver Fonte

服务去除传入用户id

huangguangrong há 9 meses atrás
pai
commit
df693dc7b0

+ 2 - 19
proto/slowwild.proto

@@ -166,7 +166,6 @@ message CreateTag {
 }
 
 message CreatePostReq {
-    int64 user_id = 1;
     string title = 2;
     string content = 3;
     repeated CreateTag tags = 4;
@@ -206,7 +205,6 @@ message GetTagListRsp {
 
 message GetTagReq {
     int64 tag_id = 1;
-    int64 user_id = 2;
 }
 
 message GetTagRsp {
@@ -226,7 +224,6 @@ message GetPostListReq {
     int32 search_type = 3; // 0-默认搜索1-搜索内容/标题2-话题搜索
     int32 sort_type = 4; //0-默认创建时间排序1-热度排序
     string keyword = 5; // 搜索关键字,或者对应的id
-    int64 user_id = 6; // 用户id
 }
 
 message GetPostListItem {
@@ -258,7 +255,6 @@ message GetPostListRsp {
 }
 
 message GetPostReq {
-    int64 user_id = 1;
     int64 post_id = 2;
 }
 
@@ -290,7 +286,6 @@ message GetPostRsp {
 
 message PostUpvoteReq {
     int64 post_id = 1;
-    int64 user_id = 2;
 }
 
 message PostUpvoteRsp {
@@ -299,7 +294,6 @@ message PostUpvoteRsp {
 
 message PostCollectionReq {
     int64 post_id = 1;
-    int64 user_id = 2;
 }
 
 message PostCollectionRsp {
@@ -308,7 +302,6 @@ message PostCollectionRsp {
 
 message PostShareReq {
     int64 post_id = 1;
-    int64 user_id = 2;
 }
 
 message PostShareRsp {
@@ -317,7 +310,6 @@ message PostShareRsp {
 
 message PostCommentReq {
     int64 post_id = 1;
-    int64 user_id = 2;
     string content = 3;
     string image = 4;
     int64 at_user_id = 5;
@@ -331,7 +323,6 @@ message PostCommentRsp {
 
 message PostReplyReq {
     int64 post_id = 1;
-    int64 user_id = 2;
     string content = 3;
     string image = 4;
     int64 at_user_id = 5;
@@ -348,8 +339,7 @@ message PostReplyRsp {
 message GetPostCommentListReq {
     int32 page = 1;
     int32 page_size = 2;
-    int64 post_id = 3;
-    int64 user_id = 4;  
+    int64 post_id = 3;  
 }
 
 message RepliesItem {
@@ -390,8 +380,7 @@ message GetPostCommentListRsp {
 message GetReplyListReq {
     int32 page = 1;
     int32 page_size = 2;
-    int64 comment_id = 3;
-    int64 user_id = 4;  
+    int64 comment_id = 3; 
 }
 
 message GetReplyListRsp {
@@ -400,7 +389,6 @@ message GetReplyListRsp {
 }
 
 message PostCommentUpvoteReq {
-    int64 user_id = 1;
     int64 comment_id = 2;
     int32 comment_type = 3; // 0- 评论1-回复
 }
@@ -410,7 +398,6 @@ message PostCommentUpvoteRsp {
 }
 
 message PostDeleteReq {
-    int64 user_id = 1;
     int64 post_id = 2;
 }
 
@@ -419,7 +406,6 @@ message PostDeleteRsp {
 }
 
 message CommentDeleteReq {
-    int64 user_id = 1;
     int64 comment_id = 2;
     int32 comment_type = 3; // 0-评论1-回复
 }
@@ -429,7 +415,6 @@ message CommentDeleteRsp {
 }
 
 message GetUserPostListReq {
-    int64 user_id = 1; // 当前登陆用户
     int64 page = 2;
     int64 page_size = 3;
     int64 query_user_id = 4;
@@ -442,7 +427,6 @@ message GetUserPostListRsp {
 
 
 message GetUserPostCollectionListReq {
-    int64 user_id = 1; // 当前登陆用户
     int64 page = 2;
     int64 page_size = 3;
     int64 query_user_id = 4;
@@ -454,7 +438,6 @@ message GetUserPostCollectionListRsp {
 }
 
 message GetUserPostLikeListReq {
-    int64 user_id = 1; // 当前登陆用户
     int64 page = 2;
     int64 page_size = 3;
     int64 query_user_id = 4;

Diff do ficheiro suprimidas por serem muito extensas
+ 454 - 617
slowwild/slowwildserver/slowwild.pb.go


+ 60 - 32
slowwild/slowwildserver/slowwild_grpc.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
 // versions:
-// - protoc-gen-go-grpc v1.3.0
-// - protoc             v3.21.2
+// - protoc-gen-go-grpc v1.4.0
+// - protoc             v3.19.4
 // source: proto/slowwild.proto
 
 package slowwildserver
@@ -15,8 +15,8 @@ import (
 
 // This is a compile-time assertion to ensure that this generated file
 // is compatible with the grpc package it is being compiled against.
-// Requires gRPC-Go v1.32.0 or later.
-const _ = grpc.SupportPackageIsVersion7
+// Requires gRPC-Go v1.62.0 or later.
+const _ = grpc.SupportPackageIsVersion8
 
 const (
 	SlowWildServer_Login_FullMethodName                     = "/slowwildserver.SlowWildServer/Login"
@@ -120,8 +120,9 @@ func NewSlowWildServerClient(cc grpc.ClientConnInterface) SlowWildServerClient {
 }
 
 func (c *slowWildServerClient) Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginAndRegisterRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(LoginAndRegisterRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_Login_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_Login_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -129,8 +130,9 @@ func (c *slowWildServerClient) Login(ctx context.Context, in *LoginReq, opts ...
 }
 
 func (c *slowWildServerClient) Register(ctx context.Context, in *RegisterReq, opts ...grpc.CallOption) (*LoginAndRegisterRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(LoginAndRegisterRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_Register_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_Register_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -138,8 +140,9 @@ func (c *slowWildServerClient) Register(ctx context.Context, in *RegisterReq, op
 }
 
 func (c *slowWildServerClient) GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetUserInfoResp)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetUserInfo_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetUserInfo_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -147,8 +150,9 @@ func (c *slowWildServerClient) GetUserInfo(ctx context.Context, in *GetUserInfoR
 }
 
 func (c *slowWildServerClient) FindUser(ctx context.Context, in *FindUserReq, opts ...grpc.CallOption) (*FindUserResp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(FindUserResp)
-	err := c.cc.Invoke(ctx, SlowWildServer_FindUser_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_FindUser_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -156,8 +160,9 @@ func (c *slowWildServerClient) FindUser(ctx context.Context, in *FindUserReq, op
 }
 
 func (c *slowWildServerClient) UserFollow(ctx context.Context, in *FollowUserReq, opts ...grpc.CallOption) (*FollowUserRes, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(FollowUserRes)
-	err := c.cc.Invoke(ctx, SlowWildServer_UserFollow_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_UserFollow_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -165,8 +170,9 @@ func (c *slowWildServerClient) UserFollow(ctx context.Context, in *FollowUserReq
 }
 
 func (c *slowWildServerClient) UnUserFollow(ctx context.Context, in *UnFollowUserReq, opts ...grpc.CallOption) (*UnFollowUserRes, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(UnFollowUserRes)
-	err := c.cc.Invoke(ctx, SlowWildServer_UnUserFollow_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_UnUserFollow_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -174,8 +180,9 @@ func (c *slowWildServerClient) UnUserFollow(ctx context.Context, in *UnFollowUse
 }
 
 func (c *slowWildServerClient) GetFans(ctx context.Context, in *GetFollowingReq, opts ...grpc.CallOption) (*GetFollowingRes, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetFollowingRes)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetFans_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetFans_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -183,8 +190,9 @@ func (c *slowWildServerClient) GetFans(ctx context.Context, in *GetFollowingReq,
 }
 
 func (c *slowWildServerClient) GetFollows(ctx context.Context, in *GetFollowingReq, opts ...grpc.CallOption) (*GetFollowingRes, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetFollowingRes)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetFollows_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetFollows_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -192,8 +200,9 @@ func (c *slowWildServerClient) GetFollows(ctx context.Context, in *GetFollowingR
 }
 
 func (c *slowWildServerClient) GetUserProfile(ctx context.Context, in *GetUserProfileReq, opts ...grpc.CallOption) (*GetUserProfileRes, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetUserProfileRes)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetUserProfile_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetUserProfile_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -201,8 +210,9 @@ func (c *slowWildServerClient) GetUserProfile(ctx context.Context, in *GetUserPr
 }
 
 func (c *slowWildServerClient) SearchUsername(ctx context.Context, in *SearchUsernameReq, opts ...grpc.CallOption) (*SearchUsernameRes, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(SearchUsernameRes)
-	err := c.cc.Invoke(ctx, SlowWildServer_SearchUsername_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_SearchUsername_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -210,8 +220,9 @@ func (c *slowWildServerClient) SearchUsername(ctx context.Context, in *SearchUse
 }
 
 func (c *slowWildServerClient) CreatePost(ctx context.Context, in *CreatePostReq, opts ...grpc.CallOption) (*CreatePostRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(CreatePostRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_CreatePost_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_CreatePost_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -219,8 +230,9 @@ func (c *slowWildServerClient) CreatePost(ctx context.Context, in *CreatePostReq
 }
 
 func (c *slowWildServerClient) GetTagList(ctx context.Context, in *GetTagListReq, opts ...grpc.CallOption) (*GetTagListRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetTagListRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetTagList_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetTagList_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -228,8 +240,9 @@ func (c *slowWildServerClient) GetTagList(ctx context.Context, in *GetTagListReq
 }
 
 func (c *slowWildServerClient) GetTag(ctx context.Context, in *GetTagReq, opts ...grpc.CallOption) (*GetTagRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetTagRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetTag_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetTag_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -237,8 +250,9 @@ func (c *slowWildServerClient) GetTag(ctx context.Context, in *GetTagReq, opts .
 }
 
 func (c *slowWildServerClient) GetPostList(ctx context.Context, in *GetPostListReq, opts ...grpc.CallOption) (*GetPostListRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetPostListRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetPostList_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetPostList_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -246,8 +260,9 @@ func (c *slowWildServerClient) GetPostList(ctx context.Context, in *GetPostListR
 }
 
 func (c *slowWildServerClient) GetPost(ctx context.Context, in *GetPostReq, opts ...grpc.CallOption) (*GetPostRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetPostRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetPost_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetPost_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -255,8 +270,9 @@ func (c *slowWildServerClient) GetPost(ctx context.Context, in *GetPostReq, opts
 }
 
 func (c *slowWildServerClient) PostUpvote(ctx context.Context, in *PostUpvoteReq, opts ...grpc.CallOption) (*PostUpvoteRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(PostUpvoteRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_PostUpvote_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_PostUpvote_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -264,8 +280,9 @@ func (c *slowWildServerClient) PostUpvote(ctx context.Context, in *PostUpvoteReq
 }
 
 func (c *slowWildServerClient) PostShare(ctx context.Context, in *PostShareReq, opts ...grpc.CallOption) (*PostShareRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(PostShareRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_PostShare_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_PostShare_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -273,8 +290,9 @@ func (c *slowWildServerClient) PostShare(ctx context.Context, in *PostShareReq,
 }
 
 func (c *slowWildServerClient) PostCollection(ctx context.Context, in *PostCollectionReq, opts ...grpc.CallOption) (*PostCollectionRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(PostCollectionRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_PostCollection_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_PostCollection_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -282,8 +300,9 @@ func (c *slowWildServerClient) PostCollection(ctx context.Context, in *PostColle
 }
 
 func (c *slowWildServerClient) PostComment(ctx context.Context, in *PostCommentReq, opts ...grpc.CallOption) (*PostCommentRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(PostCommentRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_PostComment_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_PostComment_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -291,8 +310,9 @@ func (c *slowWildServerClient) PostComment(ctx context.Context, in *PostCommentR
 }
 
 func (c *slowWildServerClient) PostReply(ctx context.Context, in *PostReplyReq, opts ...grpc.CallOption) (*PostReplyRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(PostReplyRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_PostReply_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_PostReply_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -300,8 +320,9 @@ func (c *slowWildServerClient) PostReply(ctx context.Context, in *PostReplyReq,
 }
 
 func (c *slowWildServerClient) GetPostCommentList(ctx context.Context, in *GetPostCommentListReq, opts ...grpc.CallOption) (*GetPostCommentListRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetPostCommentListRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetPostCommentList_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetPostCommentList_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -309,8 +330,9 @@ func (c *slowWildServerClient) GetPostCommentList(ctx context.Context, in *GetPo
 }
 
 func (c *slowWildServerClient) GetReplyList(ctx context.Context, in *GetReplyListReq, opts ...grpc.CallOption) (*GetReplyListRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetReplyListRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetReplyList_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetReplyList_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -318,8 +340,9 @@ func (c *slowWildServerClient) GetReplyList(ctx context.Context, in *GetReplyLis
 }
 
 func (c *slowWildServerClient) PostCommentUpvote(ctx context.Context, in *PostCommentUpvoteReq, opts ...grpc.CallOption) (*PostCommentUpvoteRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(PostCommentUpvoteRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_PostCommentUpvote_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_PostCommentUpvote_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -327,8 +350,9 @@ func (c *slowWildServerClient) PostCommentUpvote(ctx context.Context, in *PostCo
 }
 
 func (c *slowWildServerClient) PostDelete(ctx context.Context, in *PostDeleteReq, opts ...grpc.CallOption) (*PostDeleteRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(PostDeleteRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_PostDelete_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_PostDelete_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -336,8 +360,9 @@ func (c *slowWildServerClient) PostDelete(ctx context.Context, in *PostDeleteReq
 }
 
 func (c *slowWildServerClient) CommentDelete(ctx context.Context, in *CommentDeleteReq, opts ...grpc.CallOption) (*CommentDeleteRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(CommentDeleteRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_CommentDelete_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_CommentDelete_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -345,8 +370,9 @@ func (c *slowWildServerClient) CommentDelete(ctx context.Context, in *CommentDel
 }
 
 func (c *slowWildServerClient) GetUserPostList(ctx context.Context, in *GetUserPostListReq, opts ...grpc.CallOption) (*GetUserPostListRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetUserPostListRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetUserPostList_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetUserPostList_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -354,8 +380,9 @@ func (c *slowWildServerClient) GetUserPostList(ctx context.Context, in *GetUserP
 }
 
 func (c *slowWildServerClient) GetUserPostCollectionList(ctx context.Context, in *GetUserPostCollectionListReq, opts ...grpc.CallOption) (*GetUserPostCollectionListRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetUserPostCollectionListRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetUserPostCollectionList_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetUserPostCollectionList_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}
@@ -363,8 +390,9 @@ func (c *slowWildServerClient) GetUserPostCollectionList(ctx context.Context, in
 }
 
 func (c *slowWildServerClient) GetUserPostLikeList(ctx context.Context, in *GetUserPostLikeListReq, opts ...grpc.CallOption) (*GetUserPostLikeListRsp, error) {
+	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
 	out := new(GetUserPostLikeListRsp)
-	err := c.cc.Invoke(ctx, SlowWildServer_GetUserPostLikeList_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, SlowWildServer_GetUserPostLikeList_FullMethodName, in, out, cOpts...)
 	if err != nil {
 		return nil, err
 	}

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff