|
@@ -73,6 +73,7 @@ type UserHTTPServer interface {
|
|
|
GetUserRoomByPerson(context.Context, *common.PersonParam) (*chat.UserRoomInfo, error)
|
|
GetUserRoomByPerson(context.Context, *common.PersonParam) (*chat.UserRoomInfo, error)
|
|
|
GetVipInfo(context.Context, *emptypb.Empty) (*VipInfo, error)
|
|
GetVipInfo(context.Context, *emptypb.Empty) (*VipInfo, error)
|
|
|
GetWindowInfo(context.Context, *emptypb.Empty) (*chat.WindowInfo, error)
|
|
GetWindowInfo(context.Context, *emptypb.Empty) (*chat.WindowInfo, error)
|
|
|
|
|
+ IsCanGetReturnReword(context.Context, *emptypb.Empty) (*IsCanGetReturnRewordReply, error)
|
|
|
ManagerDeleteHighQualityUser(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
|
|
ManagerDeleteHighQualityUser(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
|
|
|
ManagerFindCanHandpickUserList(context.Context, *common.ManagerFindCanHandpickUserListRequest) (*common.ManagerFindCanHandpickUserListReply, error)
|
|
ManagerFindCanHandpickUserList(context.Context, *common.ManagerFindCanHandpickUserListRequest) (*common.ManagerFindCanHandpickUserListReply, error)
|
|
|
ManagerFindHighQualityUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
|
|
ManagerFindHighQualityUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
|
|
@@ -114,11 +115,14 @@ type UserHTTPServer interface {
|
|
|
UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error)
|
|
UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error)
|
|
|
UserGetInformationAward(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
|
|
UserGetInformationAward(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
|
|
|
UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error)
|
|
UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error)
|
|
|
|
|
+ UserGetReturnReword(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
|
|
|
UserInformationStatus(context.Context, *emptypb.Empty) (*InformationStatus, error)
|
|
UserInformationStatus(context.Context, *emptypb.Empty) (*InformationStatus, error)
|
|
|
UserLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
|
|
UserLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
|
|
|
|
|
+ UserPrivacyStatus(context.Context, *emptypb.Empty) (*UserPrivacyStatusInfo, error)
|
|
|
UserRecharge(context.Context, *UserRechargeRequest) (*PayInfo, error)
|
|
UserRecharge(context.Context, *UserRechargeRequest) (*PayInfo, error)
|
|
|
UserRechargeVip(context.Context, *UserRechargeRequest) (*PayInfo, error)
|
|
UserRechargeVip(context.Context, *UserRechargeRequest) (*PayInfo, error)
|
|
|
UserSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
|
|
UserSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
|
|
|
|
|
+ UserSetPrivacyStatus(context.Context, *UserPrivacyStatusInfo) (*emptypb.Empty, error)
|
|
|
UserUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
|
|
UserUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
|
|
|
WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error)
|
|
WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error)
|
|
|
}
|
|
}
|
|
@@ -196,6 +200,10 @@ func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer) {
|
|
|
r.POST("/api/handpick/list", _User_FindHandpickUser0_HTTP_Handler(srv))
|
|
r.POST("/api/handpick/list", _User_FindHandpickUser0_HTTP_Handler(srv))
|
|
|
r.POST("/api/user/look/handpick/num", _User_GetUserLookHandPickNum0_HTTP_Handler(srv))
|
|
r.POST("/api/user/look/handpick/num", _User_GetUserLookHandPickNum0_HTTP_Handler(srv))
|
|
|
r.POST("/api/user/look/handpick/num/set", _User_SetUserLookHandPickNum0_HTTP_Handler(srv))
|
|
r.POST("/api/user/look/handpick/num/set", _User_SetUserLookHandPickNum0_HTTP_Handler(srv))
|
|
|
|
|
+ r.POST("/api/user/return/reword/status", _User_IsCanGetReturnReword0_HTTP_Handler(srv))
|
|
|
|
|
+ r.POST("/api/user/return/reword/get", _User_UserGetReturnReword0_HTTP_Handler(srv))
|
|
|
|
|
+ r.POST("/api/user/privacy/status", _User_UserPrivacyStatus0_HTTP_Handler(srv))
|
|
|
|
|
+ r.POST("/api/user/privacy/set", _User_UserSetPrivacyStatus0_HTTP_Handler(srv))
|
|
|
r.POST("/api/manager/user/list", _User_ManagerFindUserList0_HTTP_Handler(srv))
|
|
r.POST("/api/manager/user/list", _User_ManagerFindUserList0_HTTP_Handler(srv))
|
|
|
r.POST("/api/manager/user/list/information", _User_ManagerFindInformationUserList0_HTTP_Handler(srv))
|
|
r.POST("/api/manager/user/list/information", _User_ManagerFindInformationUserList0_HTTP_Handler(srv))
|
|
|
r.POST("/api/manager/user/list/ischeckquality", _User_ManagerFindIsCheckQualityUserList0_HTTP_Handler(srv))
|
|
r.POST("/api/manager/user/list/ischeckquality", _User_ManagerFindIsCheckQualityUserList0_HTTP_Handler(srv))
|
|
@@ -2135,6 +2143,114 @@ func _User_SetUserLookHandPickNum0_HTTP_Handler(srv UserHTTPServer) func(ctx htt
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func _User_IsCanGetReturnReword0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
|
|
|
|
|
+ return func(ctx http.Context) error {
|
|
|
|
|
+ var in emptypb.Empty
|
|
|
|
|
+ if err := ctx.Bind(&in); err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ if err := ctx.BindQuery(&in); err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ http.SetOperation(ctx, "/api.user.User/IsCanGetReturnReword")
|
|
|
|
|
+ h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.IsCanGetReturnReword(ctx, req.(*emptypb.Empty))
|
|
|
|
|
+ })
|
|
|
|
|
+ out, err := h(ctx, &in)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ success := &reply.SuccessReply{
|
|
|
|
|
+ Code: 0,
|
|
|
|
|
+ }
|
|
|
|
|
+ if out != nil {
|
|
|
|
|
+ success.Data = out
|
|
|
|
|
+ }
|
|
|
|
|
+ return ctx.Result(200, success)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _User_UserGetReturnReword0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
|
|
|
|
|
+ return func(ctx http.Context) error {
|
|
|
|
|
+ var in emptypb.Empty
|
|
|
|
|
+ if err := ctx.Bind(&in); err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ if err := ctx.BindQuery(&in); err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ http.SetOperation(ctx, "/api.user.User/UserGetReturnReword")
|
|
|
|
|
+ h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.UserGetReturnReword(ctx, req.(*emptypb.Empty))
|
|
|
|
|
+ })
|
|
|
|
|
+ out, err := h(ctx, &in)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ success := &reply.SuccessReply{
|
|
|
|
|
+ Code: 0,
|
|
|
|
|
+ }
|
|
|
|
|
+ if out != nil {
|
|
|
|
|
+ success.Data = out
|
|
|
|
|
+ }
|
|
|
|
|
+ return ctx.Result(200, success)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _User_UserPrivacyStatus0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
|
|
|
|
|
+ return func(ctx http.Context) error {
|
|
|
|
|
+ var in emptypb.Empty
|
|
|
|
|
+ if err := ctx.Bind(&in); err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ if err := ctx.BindQuery(&in); err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ http.SetOperation(ctx, "/api.user.User/UserPrivacyStatus")
|
|
|
|
|
+ h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.UserPrivacyStatus(ctx, req.(*emptypb.Empty))
|
|
|
|
|
+ })
|
|
|
|
|
+ out, err := h(ctx, &in)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ success := &reply.SuccessReply{
|
|
|
|
|
+ Code: 0,
|
|
|
|
|
+ }
|
|
|
|
|
+ if out != nil {
|
|
|
|
|
+ success.Data = out
|
|
|
|
|
+ }
|
|
|
|
|
+ return ctx.Result(200, success)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _User_UserSetPrivacyStatus0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
|
|
|
|
|
+ return func(ctx http.Context) error {
|
|
|
|
|
+ var in UserPrivacyStatusInfo
|
|
|
|
|
+ if err := ctx.Bind(&in); err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ if err := ctx.BindQuery(&in); err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ http.SetOperation(ctx, "/api.user.User/UserSetPrivacyStatus")
|
|
|
|
|
+ h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.UserSetPrivacyStatus(ctx, req.(*UserPrivacyStatusInfo))
|
|
|
|
|
+ })
|
|
|
|
|
+ out, err := h(ctx, &in)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ success := &reply.SuccessReply{
|
|
|
|
|
+ Code: 0,
|
|
|
|
|
+ }
|
|
|
|
|
+ if out != nil {
|
|
|
|
|
+ success.Data = out
|
|
|
|
|
+ }
|
|
|
|
|
+ return ctx.Result(200, success)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
func _User_ManagerFindUserList0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
|
|
func _User_ManagerFindUserList0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
|
|
|
return func(ctx http.Context) error {
|
|
return func(ctx http.Context) error {
|
|
|
var in common.ManagerFindPersonListRequest
|
|
var in common.ManagerFindPersonListRequest
|
|
@@ -2719,6 +2835,7 @@ type UserHTTPClient interface {
|
|
|
GetUserRoomByPerson(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *chat.UserRoomInfo, err error)
|
|
GetUserRoomByPerson(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *chat.UserRoomInfo, err error)
|
|
|
GetVipInfo(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *VipInfo, err error)
|
|
GetVipInfo(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *VipInfo, err error)
|
|
|
GetWindowInfo(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *chat.WindowInfo, err error)
|
|
GetWindowInfo(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *chat.WindowInfo, err error)
|
|
|
|
|
+ IsCanGetReturnReword(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *IsCanGetReturnRewordReply, err error)
|
|
|
ManagerDeleteHighQualityUser(ctx context.Context, req *common.PersonIDParam, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
ManagerDeleteHighQualityUser(ctx context.Context, req *common.PersonIDParam, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
|
ManagerFindCanHandpickUserList(ctx context.Context, req *common.ManagerFindCanHandpickUserListRequest, opts ...http.CallOption) (rsp *common.ManagerFindCanHandpickUserListReply, err error)
|
|
ManagerFindCanHandpickUserList(ctx context.Context, req *common.ManagerFindCanHandpickUserListRequest, opts ...http.CallOption) (rsp *common.ManagerFindCanHandpickUserListReply, err error)
|
|
|
ManagerFindHighQualityUserList(ctx context.Context, req *common.ManagerFindPersonListRequest, opts ...http.CallOption) (rsp *common.ManagerFindPersonListReply, err error)
|
|
ManagerFindHighQualityUserList(ctx context.Context, req *common.ManagerFindPersonListRequest, opts ...http.CallOption) (rsp *common.ManagerFindPersonListReply, err error)
|
|
@@ -2760,11 +2877,14 @@ type UserHTTPClient interface {
|
|
|
UserGetHomeInfo(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *common.HomeInfo, err error)
|
|
UserGetHomeInfo(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *common.HomeInfo, err error)
|
|
|
UserGetInformationAward(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
UserGetInformationAward(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
|
UserGetPersonLikedAndLooked(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *common.LookedAndLikedNum, err error)
|
|
UserGetPersonLikedAndLooked(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *common.LookedAndLikedNum, err error)
|
|
|
|
|
+ UserGetReturnReword(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
|
UserInformationStatus(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *InformationStatus, err error)
|
|
UserInformationStatus(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *InformationStatus, err error)
|
|
|
UserLike(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
UserLike(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
|
|
|
+ UserPrivacyStatus(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *UserPrivacyStatusInfo, err error)
|
|
|
UserRecharge(ctx context.Context, req *UserRechargeRequest, opts ...http.CallOption) (rsp *PayInfo, err error)
|
|
UserRecharge(ctx context.Context, req *UserRechargeRequest, opts ...http.CallOption) (rsp *PayInfo, err error)
|
|
|
UserRechargeVip(ctx context.Context, req *UserRechargeRequest, opts ...http.CallOption) (rsp *PayInfo, err error)
|
|
UserRechargeVip(ctx context.Context, req *UserRechargeRequest, opts ...http.CallOption) (rsp *PayInfo, err error)
|
|
|
UserSetBlackChat(ctx context.Context, req *common.RoomIDRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
UserSetBlackChat(ctx context.Context, req *common.RoomIDRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
|
|
|
+ UserSetPrivacyStatus(ctx context.Context, req *UserPrivacyStatusInfo, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
|
UserUnLike(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
UserUnLike(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
|
WxConf(ctx context.Context, req *common.WxConfReq, opts ...http.CallOption) (rsp *common.WxConfResponse, err error)
|
|
WxConf(ctx context.Context, req *common.WxConfReq, opts ...http.CallOption) (rsp *common.WxConfResponse, err error)
|
|
|
}
|
|
}
|
|
@@ -3336,6 +3456,19 @@ func (c *UserHTTPClientImpl) GetWindowInfo(ctx context.Context, in *emptypb.Empt
|
|
|
return &out, err
|
|
return &out, err
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func (c *UserHTTPClientImpl) IsCanGetReturnReword(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*IsCanGetReturnRewordReply, error) {
|
|
|
|
|
+ var out IsCanGetReturnRewordReply
|
|
|
|
|
+ pattern := "/api/user/return/reword/status"
|
|
|
|
|
+ path := binding.EncodeURL(pattern, in, false)
|
|
|
|
|
+ opts = append(opts, http.Operation("/api.user.User/IsCanGetReturnReword"))
|
|
|
|
|
+ opts = append(opts, http.PathTemplate(pattern))
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return &out, err
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
func (c *UserHTTPClientImpl) ManagerDeleteHighQualityUser(ctx context.Context, in *common.PersonIDParam, opts ...http.CallOption) (*emptypb.Empty, error) {
|
|
func (c *UserHTTPClientImpl) ManagerDeleteHighQualityUser(ctx context.Context, in *common.PersonIDParam, opts ...http.CallOption) (*emptypb.Empty, error) {
|
|
|
var out emptypb.Empty
|
|
var out emptypb.Empty
|
|
|
pattern := "/api/manager/quality/user/delete"
|
|
pattern := "/api/manager/quality/user/delete"
|
|
@@ -3869,6 +4002,19 @@ func (c *UserHTTPClientImpl) UserGetPersonLikedAndLooked(ctx context.Context, in
|
|
|
return &out, err
|
|
return &out, err
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func (c *UserHTTPClientImpl) UserGetReturnReword(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error) {
|
|
|
|
|
+ var out emptypb.Empty
|
|
|
|
|
+ pattern := "/api/user/return/reword/get"
|
|
|
|
|
+ path := binding.EncodeURL(pattern, in, false)
|
|
|
|
|
+ opts = append(opts, http.Operation("/api.user.User/UserGetReturnReword"))
|
|
|
|
|
+ opts = append(opts, http.PathTemplate(pattern))
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return &out, err
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
func (c *UserHTTPClientImpl) UserInformationStatus(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*InformationStatus, error) {
|
|
func (c *UserHTTPClientImpl) UserInformationStatus(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*InformationStatus, error) {
|
|
|
var out InformationStatus
|
|
var out InformationStatus
|
|
|
pattern := "/api/user/information/status"
|
|
pattern := "/api/user/information/status"
|
|
@@ -3895,6 +4041,19 @@ func (c *UserHTTPClientImpl) UserLike(ctx context.Context, in *common.PersonPara
|
|
|
return &out, err
|
|
return &out, err
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func (c *UserHTTPClientImpl) UserPrivacyStatus(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*UserPrivacyStatusInfo, error) {
|
|
|
|
|
+ var out UserPrivacyStatusInfo
|
|
|
|
|
+ pattern := "/api/user/privacy/status"
|
|
|
|
|
+ path := binding.EncodeURL(pattern, in, false)
|
|
|
|
|
+ opts = append(opts, http.Operation("/api.user.User/UserPrivacyStatus"))
|
|
|
|
|
+ opts = append(opts, http.PathTemplate(pattern))
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return &out, err
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
func (c *UserHTTPClientImpl) UserRecharge(ctx context.Context, in *UserRechargeRequest, opts ...http.CallOption) (*PayInfo, error) {
|
|
func (c *UserHTTPClientImpl) UserRecharge(ctx context.Context, in *UserRechargeRequest, opts ...http.CallOption) (*PayInfo, error) {
|
|
|
var out PayInfo
|
|
var out PayInfo
|
|
|
pattern := "/api/user/recharge"
|
|
pattern := "/api/user/recharge"
|
|
@@ -3934,6 +4093,19 @@ func (c *UserHTTPClientImpl) UserSetBlackChat(ctx context.Context, in *common.Ro
|
|
|
return &out, err
|
|
return &out, err
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func (c *UserHTTPClientImpl) UserSetPrivacyStatus(ctx context.Context, in *UserPrivacyStatusInfo, opts ...http.CallOption) (*emptypb.Empty, error) {
|
|
|
|
|
+ var out emptypb.Empty
|
|
|
|
|
+ pattern := "/api/user/privacy/set"
|
|
|
|
|
+ path := binding.EncodeURL(pattern, in, false)
|
|
|
|
|
+ opts = append(opts, http.Operation("/api.user.User/UserSetPrivacyStatus"))
|
|
|
|
|
+ opts = append(opts, http.PathTemplate(pattern))
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return &out, err
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
func (c *UserHTTPClientImpl) UserUnLike(ctx context.Context, in *common.PersonParam, opts ...http.CallOption) (*emptypb.Empty, error) {
|
|
func (c *UserHTTPClientImpl) UserUnLike(ctx context.Context, in *common.PersonParam, opts ...http.CallOption) (*emptypb.Empty, error) {
|
|
|
var out emptypb.Empty
|
|
var out emptypb.Empty
|
|
|
pattern := "/api/user/unlike"
|
|
pattern := "/api/user/unlike"
|