wfz 3 年之前
父節點
當前提交
ede5266687
共有 6 個文件被更改,包括 349 次插入2438 次删除
  1. 84 328
      api/user/user.pb.go
  2. 68 240
      api/user/user.proto
  3. 134 822
      api/user/user_grpc.pb.go
  4. 0 860
      api/user/user_http.pb.go
  5. 63 166
      js/api/user/user_http_pb.ts
  6. 0 22
      js/api/user/user_pb.ts

文件差異過大導致無法顯示
+ 84 - 328
api/user/user.pb.go


+ 68 - 240
api/user/user.proto

@@ -119,589 +119,444 @@ service User {
       body:"*"
     };
   };
-  // 密友列表
+  // 15、密友列表
   rpc FindCloseFriendRoomList (common.ListPageRequest) returns (UserFindChatListReply){
     option (google.api.http) = {
       post: "/api/user/list/chat/friend",
       body:"*"
     };
   };
-  // 15、用户查询聊天记录
+  // 16、用户查询聊天记录
   rpc FindChatRecordList (common.FindChatRecordListRequest) returns (common.ChatRecordListReply){
     option (google.api.http) = {
       post: "/api/user/chat/record",
       body:"*"
     };
   };
-  // 16、用户查询房间信息
+  // 17、用户查询房间信息
   rpc FindChatRoomMsg (common.FindChatRoomMsgRequest) returns (common.ChatRoomMsg){
     option (google.api.http) = {
       post: "/api/user/chat/room/msg",
       body:"*"
     };
   };
-  // 17、用户查询是否关注某人
+  // 18、用户查询是否关注某人
   rpc GetUserIsLike (common.PersonParam) returns (common.IsLike){
     option (google.api.http) = {
       post: "/api/user/islike",
       body:"*"
     };
   };
-  // 18、通过类型获取表情包列表
+  // 19、通过类型获取表情包列表
   rpc FindMemeByType (common.MemeRequest) returns (common.MemeList){
     option (google.api.http) = {
       post: "/api/user/find/meme/type",
       body:"*"
     };
   };
-  // 19、获取对方性别的聊天话题
+  // 20、获取对方性别的聊天话题
   rpc FindChatTopic (common.FindChatTopicRequest) returns (common.ChatTopicList){
     option (google.api.http) = {
       post: "/api/user/find/topic",
       body:"*"
     };
   };
-  // 20、随机表情包
+  // 21、随机表情包
   rpc RandomMeme (common.RandomNum) returns (common.CommonTextList){
     option (google.api.http) = {
       post: "/api/user/find/meme/random",
       body:"*"
     };
   };
-  // 21、随机打招呼
+  // 22、随机打招呼
   rpc RandomSwiftMessage (common.RandomNumAndSex) returns (common.CommonTextList){
     option (google.api.http) = {
       post: "/api/user/find/topic/random",
       body:"*"
     };
   };
-  // 22、表情包分类名
+  // 23、表情包分类名
   rpc FindMemeTitle (google.protobuf.Empty) returns (common.MemeTitleList){
     option (google.api.http) = {
       post: "/api/user/find/meme/title",
       body:"*"
     };
   };
-  // 23、用户获取聊天对象的资料卡片
+  // 24、用户获取聊天对象的资料卡片
   rpc UserGetChatCard(common.PersonParam) returns (common.ChatCardInfo){
     option (google.api.http) = {
       post: "/api/user/chat/card",
       body:"*"
     };
   };
-  // 24、聊天话题分类名
+  // 25、聊天话题分类名
   rpc FindChatTopicTitle (google.protobuf.Empty) returns (common.MemeTitleList){
     option (google.api.http) = {
       post: "/api/user/find/chat/title",
       body:"*"
     };
   };
-  // 25、用户关注某人
+  // 26、用户关注某人
   rpc UserLike(common.PersonParam) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/like",
       body:"*"
     };
   };
-  // 26、用户取关某人
+  // 27、用户取关某人
   rpc UserUnLike(common.PersonParam) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/unlike",
       body:"*"
     };
   };
-  // 27、举报某人
+  // 28、举报某人
   rpc Report (common.ReportChatRequest) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/report",
       body:"*"
     };
   };
-  // 28、超过七天的头像列表
+  // 29、超过七天的头像列表
   rpc FindOverSevenDayAvatar (google.protobuf.Empty) returns (common.FindOverSevenDayAvatarReply){
     option (google.api.http) = {
       post: "/api/user/over/avatar/list",
       body:"*"
     };
   };
-  // 29、更新上次访问的小纸条
+  // 30、更新上次访问的小纸条
   rpc UpdateLastScripID (common.UpdateLastScripIDRequest) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/scrip/last/update",
       body:"*"
     };
   };
-  // 30、创建纸条
+  // 31、创建纸条
   rpc CreateScrip (CreateScripRequest) returns (common.ScripID){
     option (google.api.http) = {
       post: "/api/user/scrip/create",
       body:"*"
     };
   };
-  // 31、删除纸条
+  // 32、删除纸条
   rpc DeleteScrip (DeleteScripRequest) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/scrip/delete",
       body:"*"
     };
   };
-  // 32、查询自己的小纸条
+  // 33、查询自己的小纸条
   rpc FindMyScrip (UserFindScripRequest) returns (common.ScripReply){
     option (google.api.http) = {
       post: "/api/user/scrip/find/self",
       body:"*"
     };
   };
-  // 33、查询别人的小纸条
+  // 34、查询别人的小纸条
   rpc FindOtherScrip (common.FindScripRequest) returns (common.ScripReply){
     option (google.api.http) = {
       post: "/api/user/scrip/find/other",
       body:"*"
     };
   };
-  // 34、查询随机纸条列表
+  // 35、查询随机纸条列表
   rpc FindRecommendScrip (UserFindScripRequest) returns (common.ScripReply){
     option (google.api.http) = {
       post: "/api/user/scrip/find/recommend",
       body:"*"
     };
   };
-  // 35、用户查看纸条
+  // 36、用户查看纸条
   rpc PersonLookScrip (PersonLookScripRequest) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/scrip/look",
       body:"*"
     };
   };
-  // 36、用户点击回看
+  // 37、用户点击回看
   rpc PersonClickLookBack (google.protobuf.Empty) returns (common.ScripInfo){
     option (google.api.http) = {
       post: "/api/user/scrip/look/back",
       body:"*"
     };
   };
-  // 37、用户回复小纸条
+  // 38、用户回复小纸条
   rpc PersonReplyScrip (ReplyScripRequest) returns (common.ChatRecordInfo){
     option (google.api.http) = {
       post: "/api/user/scrip/reply",
       body:"*"
     };
   };
-  // 38、用户删除房间
+  // 39、用户删除房间
   rpc UserDeleteChat (common.RoomIDRequest) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/chat/delete",
       body:"*"
     };
   };
-  // 39、获取用户的总未读数
+  // 40、获取用户的总未读数
   rpc GetUserAllUnreadNum (google.protobuf.Empty) returns (chat.UnreadNumReply){
     option (google.api.http) = {
       post: "/api/user/chat/unread/num",
       body:"*"
     };
   };
-  // 40、用户查询与某人的房间
+  // 41、用户查询与某人的房间
   rpc GetUserRoomByPerson (common.PersonParam) returns (chat.UserRoomInfo){
     option (google.api.http) = {
       post: "/api/user/room/info",
       body:"*"
     };
   };
-  // 41、查看我喜欢的列表
+  // 42、查看我喜欢的列表
   rpc FindLikeList (common.ListPageRequest) returns (statistics.LookAndLikeListReply){
     option (google.api.http) = {
       post: "/api/user/list/like",
       body:"*"
     };
   };
-  // 42、查看喜欢我的列表
+  // 43、查看喜欢我的列表
   rpc FindLikedList (common.ListPageRequest) returns (statistics.LookAndLikeListReply){
     option (google.api.http) = {
       post: "/api/user/list/liked",
       body:"*"
     };
   };
-
-  // ---还未共用---
-  // 用户拉黑某人
+  // 44、用户拉黑某人
   rpc UserSetBlackChat (common.RoomIDRequest) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/set/black",
       body:"*"
     };
   };
-
-
-  // ---用户专用---
-  // 检查用户是否与接待员关联
+  // 45、检查用户是否与接待员关联
   rpc CheckUserPartnerIsRelationship (common.PartnerIDParam) returns (chat.CheckUserPartnerIsRelationshipReply){
     option (google.api.http) = {
       post: "/api/user/check/relationship",
       body:"*"
     };
   };
-  // 获取接待员的确认通过页面信息
+  // 46、获取接待员的确认通过页面信息
   rpc GetPartnerCircleInfo (KeyRequest) returns (common.AddFriendMessageInfo){
     option (google.api.http) = {
       post: "/api/user/circle/info",
       body:"*"
     };
   };
-  // 获取用户的访客数以及关注数
+  // 47、获取用户的访客数以及关注数
   rpc GetLookAndLikeStatisticsMessage (google.protobuf.Empty) returns (statistics.LookAndLikeMessageReply){
     option (google.api.http) = {
       post: "/api/user/num/like_look",
       body:"*"
     };
   };
-  // 获取用户访问数详情
+  // 48、获取用户访问数详情
   rpc GetUserLookNum (google.protobuf.Empty) returns (statistics.LookMessageReply){
     option (google.api.http) = {
       post: "/api/user/look/num",
       body:"*"
     };
   };
-  // 用户完善资料
+  // 49、用户完善资料
   rpc UserFinishInformation (google.protobuf.Empty) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/information/finish",
       body:"*"
     };
   };
-  // 用户完善情况
+  // 50、用户完善情况
   rpc UserInformationStatus (google.protobuf.Empty) returns (InformationStatus){
     option (google.api.http) = {
       post: "/api/user/information/status",
       body:"*"
     };
   };
-  // 用户获取完善资料奖励
+  // 51、用户获取完善资料奖励
   rpc UserGetInformationAward(google.protobuf.Empty) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/information/award",
       body:"*"
     };
   };
-  // 解锁"看过我的"的记录
+  // 52、解锁"看过我的"的记录
   rpc UnlockLookRecord (common.PersonParam) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/look/unlock",
       body:"*"
     };
   };
-  // 用户充值
+  // 53、用户充值
   rpc UserRecharge (UserRechargeRequest) returns (PayInfo){
     option (google.api.http) = {
       post: "/api/user/recharge",
       body:"*"
     };
   };
-  // 用户充值
+  // 54、用户充值vip
   rpc UserRechargeVip (UserRechargeRequest) returns (PayInfo){
     option (google.api.http) = {
       post: "/api/user/recharge/vip",
       body:"*"
     };
   };
-  // 充值套餐列表
+  // 55、充值套餐列表
   rpc FindRechargeList (google.protobuf.Empty) returns (RechargeList){
     option (google.api.http) = {
       post: "/api/user/recharge/list",
       body:"*"
     };
   };
-  // 充值Vip套餐列表
+  // 56、充值Vip套餐列表
   rpc FindVipRechargeList (google.protobuf.Empty) returns (VipRechargeList){
     option (google.api.http) = {
       post: "/api/user/recharge/vip/list",
       body:"*"
     };
   };
-  // 用户充值记录列表
+  // 57、用户充值记录列表
   rpc FindPayList (FindPayOrderListRequest) returns (PayOrderList){
     option (google.api.http) = {
       post: "/api/user/pay/list",
       body:"*"
     };
   };
-  // 查询推荐人的列表
+  // 58、查询推荐人的列表
   rpc FindRecommendPersonList (google.protobuf.Empty) returns (common.RecommendPersonListReply){
     option (google.api.http) = {
       post: "/api/user/list/recommend",
       body:"*"
     };
   };
-  // 获取匹配的头像数组以及数量
+  // 59、获取匹配的头像数组以及数量
   rpc FindMatchingAvatarAndNum (google.protobuf.Empty) returns (FindMatchingAvatarAndNumReply){
     option (google.api.http) = {
       post: "/api/user/matching/message",
       body:"*"
     };
   };
-  // 获取假弹窗
+  // 60、获取假弹窗
   rpc GetWindowInfo (google.protobuf.Empty) returns (chat.WindowInfo){
     option (google.api.http) = {
       post: "/api/user/chat/window/get",
       body:"*"
     };
   };
-  // 用户的每日免费数
+  // 61、用户的每日免费数
   rpc GetUserFreeNum (google.protobuf.Empty) returns (UserFreeNum){
     option (google.api.http) = {
       post: "/api/user/free/num",
       body:"*"
     };
   };
-  // 随机速配
+  // 62、随机速配
   rpc GetRandomMatching (GetRandomMatchingRequest) returns (chat.GetRandomMatchingReply){
     option (google.api.http) = {
       post: "/api/user/random/matching",
       body:"*"
     };
   };
-  // 解锁语音扣费
+  // 63、解锁语音扣费
   rpc UnlockVoice (common.RoomIDRequest) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/unlock/voice",
       body:"*"
     };
   };
-  // 解锁图片扣费
+  // 64、解锁图片扣费
   rpc UnlockPicture (common.RoomIDRequest) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/unlock/picture",
       body:"*"
     };
   };
-  // 更新用户注册状态
+  // 65、更新用户注册状态
   rpc UpdateUserIsRegister (google.protobuf.Empty) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/update/register",
       body:"*"
     };
   };
-  // 创建用户与接待员的关联
+  // 66、创建用户与接待员的关联
   rpc CreateUserPartnerRoom (common.CreateChatRoomParam) returns (chat.RoomReply){
     option (google.api.http) = {
       post: "/api/user/create/room/partner",
       body:"*"
     };
   };
-  // 用户发送消息
-  // 发送消息
+  // 67、用户发送消息
   rpc SendMessage (SendMessageRequest) returns (common.SendMessageReply){
     option (google.api.http) = {
       post: "/api/user/message/send",
       body:"*"
     };
   };
+  // 68、获取用户vip信息
   rpc GetVipInfo (google.protobuf.Empty) returns (VipInfo){
     option (google.api.http) = {
       post: "/api/vip/info",
       body:"*"
     };
   };
-  // 精选列表
+  // 69、精选列表
   rpc FindHandpickUser (google.protobuf.Empty) returns (common.HandpickPersonListReply){
     option (google.api.http) = {
       post: "/api/handpick/list",
       body:"*"
     };
   };
-  // 查询用户查看精选表的次数
+  // 70、查询用户查看精选表的次数
   rpc GetUserLookHandPickNum (google.protobuf.Empty) returns (GetUserLookHandPickNumReply){
     option (google.api.http) = {
       post: "/api/user/look/handpick/num",
       body:"*"
     };
   };
-  // 设置用户查看精选表的次数
+  // 71、设置用户查看精选表的次数
   rpc SetUserLookHandPickNum (common.PersonIDParam) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/look/handpick/num/set",
       body:"*"
     };
   };
-  // 获取用户是能否领取回归奖励
+  // 72、获取用户是能否领取回归奖励
   rpc IsCanGetReturnReword (google.protobuf.Empty) returns (IsCanGetReturnRewordReply){
     option (google.api.http) = {
       post: "/api/user/return/reword/status",
       body:"*"
     };
   };
-  // 用户领取回归奖励
+  // 73、用户领取回归奖励
   rpc UserGetReturnReword (google.protobuf.Empty) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/return/reword/get",
       body:"*"
     };
   };
-  // 用户隐私状态
+  // 74、用户隐私状态
   rpc UserPrivacyStatus (google.protobuf.Empty) returns (UserPrivacyStatusInfo){
     option (google.api.http) = {
       post: "/api/user/privacy/status",
       body:"*"
     };
   };
-  // 用户设置隐私状态
+  // 75、用户设置隐私状态
   rpc UserSetPrivacyStatus (UserPrivacyStatusInfo) returns (google.protobuf.Empty){
     option (google.api.http) = {
       post: "/api/user/privacy/set",
       body:"*"
     };
   };
-  // ---manager---
-  // 管理员查询用户列表
-  rpc ManagerFindUserList (common.ManagerFindPersonListRequest) returns (common.ManagerFindPersonListReply){
-    option (google.api.http) = {
-      post: "/api/manager/user/list",
-      body:"*"
-    };
-  };
-  // 管理员查询完善过资料的用户列表
-  rpc ManagerFindInformationUserList (common.ManagerFindPersonListRequest) returns (common.ManagerFindPersonListReply){
-    option (google.api.http) = {
-      post: "/api/manager/user/list/information",
-      body:"*"
-    };
-  };
-  // 管理员查询已审核过信息的列表
-  rpc ManagerFindIsCheckQualityUserList (ManagerFindIsCheckQualityUserListRequest) returns (common.ManagerFindPersonListReply2){
-    option (google.api.http) = {
-      post: "/api/manager/user/list/ischeckquality",
-      body:"*"
-    };
-  };
-  // 管理员查询优质用户列表
-  rpc ManagerFindHighQualityUserList (common.ManagerFindPersonListRequest) returns (common.ManagerFindPersonListReply){
-    option (google.api.http) = {
-      post: "/api/manager/quality/user/list",
-      body:"*"
-    };
-  };
-  // 管理员查询精选用户
-  rpc ManagerFindCanHandpickUserList (common.ManagerFindCanHandpickUserListRequest) returns (common.ManagerFindCanHandpickUserListReply){
-    option (google.api.http) = {
-      post: "/api/manager/handpick/user/list",
-      body:"*"
-    };
-  };
-  // 管理员批量更新精选用户
-  rpc ManagerSetHandpickUser (common.ManagerSetHandpickUserRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/handpick/user/set",
-      body:"*"
-    };
-  };
-  // 管理员更新单个精选用户
-  rpc ManagerSetHandpickUserOne (common.ManagerSetHandpickUserOneRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/handpick/user/set/one",
-      body:"*"
-    };
-  };
-  // 管理员标记优质用户
-  rpc ManagerMarkHighQualityUser (ManagerMarkHighQualityUserRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/quality/user/set",
-      body:"*"
-    };
-  };
-  // 管理员批量取消标记优质用户
-  rpc ManagerReMarkHighQualityUser (ManagerReMarkHighQualityUserRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/quality/user/remark",
-      body:"*"
-    };
-  };
-  // 管理员标记单个优质用户
-  rpc ManagerMarkHighQualityUserOne (common.PersonIDParam) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/quality/user/set/one",
-      body:"*"
-    };
-  };
-  // 管理员批量拉黑用户
-  rpc ManagerSetUserBlack (common.PersonIDList) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/black/user/more",
-      body:"*"
-    };
-  };
-  // 管理员取消标记优质用户
-  rpc ManagerDeleteHighQualityUser (common.PersonIDParam) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/quality/user/delete",
-      body:"*"
-    };
-  };
-  // 管理员更新用户语音
-  rpc ManagerUpdateUserVoice (common.ManagerUpdatePersonVoiceRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/user/Voice/update",
-      body:"*"
-    };
-  };
-  // 管理员更新用户相册
-  rpc ManagerUpdateUserPictures (common.ManagerUpdatePersonPicturesRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/user/pictures/update",
-      body:"*"
-    };
-  };
-  // 管理员更新用户签名
-  rpc ManagerUpdateUserSignature (common.ManagerUpdatePersonSignatureRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/user/signature/update",
-      body:"*"
-    };
-  };
-  // 管理员更新用户头像
-  rpc ManagerUpdateUserAvatar (common.ManagerUpdatePersonAvatarRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/user/avatar/update",
-      body:"*"
-    };
-  };
-  // 管理员更新用户昵称
-  rpc ManagerUpdateUserName (common.ManagerUpdatePersonNameRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/user/name/update",
-      body:"*"
-    };
-  };
-  // 管理员更新用户权重
-  rpc ManagerUpdateUserWeight (common.ManagerUpdatePersonWeightRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/user/weight/update",
-      body:"*"
-    };
-  };
-  // 管理员更新用户是否拉黑
-  rpc ManagerUpdateUserIsBlack (common.ManagerUpdatePersonIsBlackRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/user/black/update",
-      body:"*"
-    };
-  };
-  // 管理员增加用户积分
-  rpc ManagerUpdateUserCredit (ManagerUpdateUserCreditRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/user/credit/add",
-      body:"*"
-    };
-  };
+
   // ---rpc---
-  // 1、获取用户详情
+  // 获取用户详情
   rpc GetUserDBMsg (common.PersonIDParam) returns (common.PersonMsg);
-  // 2、通过用户IDs查看用户信息列表
+  // 通过用户IDs查看用户信息列表
   rpc FindUserDBList (common.PersonIDList) returns (common.PersonDBReply);
-  // 3、对内更新
+  // 对内更新
   rpc UpdateLastScripIDDB (common.UpdateLastScripIDDBRequest) returns (google.protobuf.Empty){};
-  // 5、更新上次登录时间
+  // 更新上次登录时间
   rpc UpdateUserLastLoginTime (common.PersonIDParam) returns (google.protobuf.Empty){};
-  // 6、通过userID查询用户
+  // 通过userID查询用户
   rpc GetUserDBMsgByAccountID (common.IDParam) returns (common.PersonMsg);
   // 获取推荐的人(new)
   rpc FindRecommendHighQualityUserDBList (FindRecommendHighQualityUserRequest) returns (FindRecommendHighQualityUserReply){};
@@ -739,9 +594,7 @@ service User {
   rpc UpdateToday (UpdateTodayRequest) returns (google.protobuf.Empty){};
   // 更新上次发送模板的时间信息
   rpc UpdateLastSendTemplateTime (UpdateLastSendTemplateTimeRequest) returns (google.protobuf.Empty){};
-
-//  rpc CronSignInUser (google.protobuf.Empty) returns (google.protobuf.Empty){};
-//  rpc CronSendUnreadTemplate (google.protobuf.Empty) returns (google.protobuf.Empty){};
+  // 定时移除过期vip
   rpc CronRemoveExpirationVip (google.protobuf.Empty) returns (google.protobuf.Empty){};
 }
 
@@ -837,31 +690,6 @@ message SendMessageRequest{
   string websocketTag = 4;
 }
 
-message ManagerFindIsCheckQualityUserListRequest{
-  int64 page = 1;
-  int64 pageSize = 2;
-  int64 id = 3;// 用户ID
-  string name = 4;// 姓名
-  int64 sex = 5; // 性别
-
-}
-
-message ManagerUpdateUserCreditRequest{
-  string personId = 1;
-  int64 num = 2;
-  string title = 3;
-}
-
-message ManagerMarkHighQualityUserRequest{
-  repeated string passIds = 1;
-  repeated string unPassIds = 2;
-}
-
-message ManagerReMarkHighQualityUserRequest{
-  repeated string userIds = 1;
-}
-
-
 message GetRecommendUserDBRequest{
   int64 sex = 2;
   repeated string personIds = 3; // 匹配过的用户

文件差異過大導致無法顯示
+ 134 - 822
api/user/user_grpc.pb.go


+ 0 - 860
api/user/user_http.pb.go

@@ -75,26 +75,6 @@ type UserHTTPServer interface {
 	GetVipInfo(context.Context, *emptypb.Empty) (*VipInfo, error)
 	GetWindowInfo(context.Context, *emptypb.Empty) (*chat.WindowInfo, error)
 	IsCanGetReturnReword(context.Context, *emptypb.Empty) (*IsCanGetReturnRewordReply, error)
-	ManagerDeleteHighQualityUser(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
-	ManagerFindCanHandpickUserList(context.Context, *common.ManagerFindCanHandpickUserListRequest) (*common.ManagerFindCanHandpickUserListReply, error)
-	ManagerFindHighQualityUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
-	ManagerFindInformationUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
-	ManagerFindIsCheckQualityUserList(context.Context, *ManagerFindIsCheckQualityUserListRequest) (*common.ManagerFindPersonListReply2, error)
-	ManagerFindUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
-	ManagerMarkHighQualityUser(context.Context, *ManagerMarkHighQualityUserRequest) (*emptypb.Empty, error)
-	ManagerMarkHighQualityUserOne(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
-	ManagerReMarkHighQualityUser(context.Context, *ManagerReMarkHighQualityUserRequest) (*emptypb.Empty, error)
-	ManagerSetHandpickUser(context.Context, *common.ManagerSetHandpickUserRequest) (*emptypb.Empty, error)
-	ManagerSetHandpickUserOne(context.Context, *common.ManagerSetHandpickUserOneRequest) (*emptypb.Empty, error)
-	ManagerSetUserBlack(context.Context, *common.PersonIDList) (*emptypb.Empty, error)
-	ManagerUpdateUserAvatar(context.Context, *common.ManagerUpdatePersonAvatarRequest) (*emptypb.Empty, error)
-	ManagerUpdateUserCredit(context.Context, *ManagerUpdateUserCreditRequest) (*emptypb.Empty, error)
-	ManagerUpdateUserIsBlack(context.Context, *common.ManagerUpdatePersonIsBlackRequest) (*emptypb.Empty, error)
-	ManagerUpdateUserName(context.Context, *common.ManagerUpdatePersonNameRequest) (*emptypb.Empty, error)
-	ManagerUpdateUserPictures(context.Context, *common.ManagerUpdatePersonPicturesRequest) (*emptypb.Empty, error)
-	ManagerUpdateUserSignature(context.Context, *common.ManagerUpdatePersonSignatureRequest) (*emptypb.Empty, error)
-	ManagerUpdateUserVoice(context.Context, *common.ManagerUpdatePersonVoiceRequest) (*emptypb.Empty, error)
-	ManagerUpdateUserWeight(context.Context, *common.ManagerUpdatePersonWeightRequest) (*emptypb.Empty, error)
 	PersonClickLookBack(context.Context, *emptypb.Empty) (*common.ScripInfo, error)
 	PersonLookScrip(context.Context, *PersonLookScripRequest) (*emptypb.Empty, error)
 	PersonReplyScrip(context.Context, *ReplyScripRequest) (*common.ChatRecordInfo, error)
@@ -206,26 +186,6 @@ func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer) {
 	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/information", _User_ManagerFindInformationUserList0_HTTP_Handler(srv))
-	r.POST("/api/manager/user/list/ischeckquality", _User_ManagerFindIsCheckQualityUserList0_HTTP_Handler(srv))
-	r.POST("/api/manager/quality/user/list", _User_ManagerFindHighQualityUserList0_HTTP_Handler(srv))
-	r.POST("/api/manager/handpick/user/list", _User_ManagerFindCanHandpickUserList0_HTTP_Handler(srv))
-	r.POST("/api/manager/handpick/user/set", _User_ManagerSetHandpickUser0_HTTP_Handler(srv))
-	r.POST("/api/manager/handpick/user/set/one", _User_ManagerSetHandpickUserOne0_HTTP_Handler(srv))
-	r.POST("/api/manager/quality/user/set", _User_ManagerMarkHighQualityUser0_HTTP_Handler(srv))
-	r.POST("/api/manager/quality/user/remark", _User_ManagerReMarkHighQualityUser0_HTTP_Handler(srv))
-	r.POST("/api/manager/quality/user/set/one", _User_ManagerMarkHighQualityUserOne0_HTTP_Handler(srv))
-	r.POST("/api/manager/black/user/more", _User_ManagerSetUserBlack0_HTTP_Handler(srv))
-	r.POST("/api/manager/quality/user/delete", _User_ManagerDeleteHighQualityUser0_HTTP_Handler(srv))
-	r.POST("/api/manager/user/Voice/update", _User_ManagerUpdateUserVoice0_HTTP_Handler(srv))
-	r.POST("/api/manager/user/pictures/update", _User_ManagerUpdateUserPictures0_HTTP_Handler(srv))
-	r.POST("/api/manager/user/signature/update", _User_ManagerUpdateUserSignature0_HTTP_Handler(srv))
-	r.POST("/api/manager/user/avatar/update", _User_ManagerUpdateUserAvatar0_HTTP_Handler(srv))
-	r.POST("/api/manager/user/name/update", _User_ManagerUpdateUserName0_HTTP_Handler(srv))
-	r.POST("/api/manager/user/weight/update", _User_ManagerUpdateUserWeight0_HTTP_Handler(srv))
-	r.POST("/api/manager/user/black/update", _User_ManagerUpdateUserIsBlack0_HTTP_Handler(srv))
-	r.POST("/api/manager/user/credit/add", _User_ManagerUpdateUserCredit0_HTTP_Handler(srv))
 }
 
 func _User_GetUserInfo0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
@@ -2280,546 +2240,6 @@ func _User_UserSetPrivacyStatus0_HTTP_Handler(srv UserHTTPServer) func(ctx http.
 	}
 }
 
-func _User_ManagerFindUserList0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerFindPersonListRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerFindUserList")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerFindUserList(ctx, req.(*common.ManagerFindPersonListRequest))
-		})
-		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_ManagerFindInformationUserList0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerFindPersonListRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerFindInformationUserList")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerFindInformationUserList(ctx, req.(*common.ManagerFindPersonListRequest))
-		})
-		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_ManagerFindIsCheckQualityUserList0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in ManagerFindIsCheckQualityUserListRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerFindIsCheckQualityUserList")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerFindIsCheckQualityUserList(ctx, req.(*ManagerFindIsCheckQualityUserListRequest))
-		})
-		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_ManagerFindHighQualityUserList0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerFindPersonListRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerFindHighQualityUserList")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerFindHighQualityUserList(ctx, req.(*common.ManagerFindPersonListRequest))
-		})
-		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_ManagerFindCanHandpickUserList0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerFindCanHandpickUserListRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerFindCanHandpickUserList")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerFindCanHandpickUserList(ctx, req.(*common.ManagerFindCanHandpickUserListRequest))
-		})
-		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_ManagerSetHandpickUser0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerSetHandpickUserRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerSetHandpickUser")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerSetHandpickUser(ctx, req.(*common.ManagerSetHandpickUserRequest))
-		})
-		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_ManagerSetHandpickUserOne0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerSetHandpickUserOneRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerSetHandpickUserOne")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerSetHandpickUserOne(ctx, req.(*common.ManagerSetHandpickUserOneRequest))
-		})
-		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_ManagerMarkHighQualityUser0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in ManagerMarkHighQualityUserRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerMarkHighQualityUser")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerMarkHighQualityUser(ctx, req.(*ManagerMarkHighQualityUserRequest))
-		})
-		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_ManagerReMarkHighQualityUser0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in ManagerReMarkHighQualityUserRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerReMarkHighQualityUser")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerReMarkHighQualityUser(ctx, req.(*ManagerReMarkHighQualityUserRequest))
-		})
-		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_ManagerMarkHighQualityUserOne0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.PersonIDParam
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerMarkHighQualityUserOne")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerMarkHighQualityUserOne(ctx, req.(*common.PersonIDParam))
-		})
-		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_ManagerSetUserBlack0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.PersonIDList
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerSetUserBlack")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerSetUserBlack(ctx, req.(*common.PersonIDList))
-		})
-		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_ManagerDeleteHighQualityUser0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.PersonIDParam
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerDeleteHighQualityUser")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerDeleteHighQualityUser(ctx, req.(*common.PersonIDParam))
-		})
-		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_ManagerUpdateUserVoice0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerUpdatePersonVoiceRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerUpdateUserVoice")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerUpdateUserVoice(ctx, req.(*common.ManagerUpdatePersonVoiceRequest))
-		})
-		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_ManagerUpdateUserPictures0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerUpdatePersonPicturesRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerUpdateUserPictures")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerUpdateUserPictures(ctx, req.(*common.ManagerUpdatePersonPicturesRequest))
-		})
-		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_ManagerUpdateUserSignature0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerUpdatePersonSignatureRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerUpdateUserSignature")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerUpdateUserSignature(ctx, req.(*common.ManagerUpdatePersonSignatureRequest))
-		})
-		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_ManagerUpdateUserAvatar0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerUpdatePersonAvatarRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerUpdateUserAvatar")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerUpdateUserAvatar(ctx, req.(*common.ManagerUpdatePersonAvatarRequest))
-		})
-		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_ManagerUpdateUserName0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerUpdatePersonNameRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerUpdateUserName")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerUpdateUserName(ctx, req.(*common.ManagerUpdatePersonNameRequest))
-		})
-		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_ManagerUpdateUserWeight0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerUpdatePersonWeightRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerUpdateUserWeight")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerUpdateUserWeight(ctx, req.(*common.ManagerUpdatePersonWeightRequest))
-		})
-		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_ManagerUpdateUserIsBlack0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.ManagerUpdatePersonIsBlackRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerUpdateUserIsBlack")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerUpdateUserIsBlack(ctx, req.(*common.ManagerUpdatePersonIsBlackRequest))
-		})
-		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_ManagerUpdateUserCredit0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in ManagerUpdateUserCreditRequest
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.user.User/ManagerUpdateUserCredit")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.ManagerUpdateUserCredit(ctx, req.(*ManagerUpdateUserCreditRequest))
-		})
-		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)
-	}
-}
-
 type UserHTTPClient interface {
 	CheckPhoneCode(ctx context.Context, req *common.CheckPhoneCodeRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	CheckUserPartnerIsRelationship(ctx context.Context, req *common.PartnerIDParam, opts ...http.CallOption) (rsp *chat.CheckUserPartnerIsRelationshipReply, err error)
@@ -2866,26 +2286,6 @@ type UserHTTPClient interface {
 	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)
 	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)
-	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)
-	ManagerFindInformationUserList(ctx context.Context, req *common.ManagerFindPersonListRequest, opts ...http.CallOption) (rsp *common.ManagerFindPersonListReply, err error)
-	ManagerFindIsCheckQualityUserList(ctx context.Context, req *ManagerFindIsCheckQualityUserListRequest, opts ...http.CallOption) (rsp *common.ManagerFindPersonListReply2, err error)
-	ManagerFindUserList(ctx context.Context, req *common.ManagerFindPersonListRequest, opts ...http.CallOption) (rsp *common.ManagerFindPersonListReply, err error)
-	ManagerMarkHighQualityUser(ctx context.Context, req *ManagerMarkHighQualityUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerMarkHighQualityUserOne(ctx context.Context, req *common.PersonIDParam, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerReMarkHighQualityUser(ctx context.Context, req *ManagerReMarkHighQualityUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerSetHandpickUser(ctx context.Context, req *common.ManagerSetHandpickUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerSetHandpickUserOne(ctx context.Context, req *common.ManagerSetHandpickUserOneRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerSetUserBlack(ctx context.Context, req *common.PersonIDList, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerUpdateUserAvatar(ctx context.Context, req *common.ManagerUpdatePersonAvatarRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerUpdateUserCredit(ctx context.Context, req *ManagerUpdateUserCreditRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerUpdateUserIsBlack(ctx context.Context, req *common.ManagerUpdatePersonIsBlackRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerUpdateUserName(ctx context.Context, req *common.ManagerUpdatePersonNameRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerUpdateUserPictures(ctx context.Context, req *common.ManagerUpdatePersonPicturesRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerUpdateUserSignature(ctx context.Context, req *common.ManagerUpdatePersonSignatureRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerUpdateUserVoice(ctx context.Context, req *common.ManagerUpdatePersonVoiceRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
-	ManagerUpdateUserWeight(ctx context.Context, req *common.ManagerUpdatePersonWeightRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	PersonClickLookBack(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.ScripInfo, err error)
 	PersonLookScrip(ctx context.Context, req *PersonLookScripRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	PersonReplyScrip(ctx context.Context, req *ReplyScripRequest, opts ...http.CallOption) (rsp *common.ChatRecordInfo, err error)
@@ -3512,266 +2912,6 @@ func (c *UserHTTPClientImpl) IsCanGetReturnReword(ctx context.Context, in *empty
 	return &out, err
 }
 
-func (c *UserHTTPClientImpl) ManagerDeleteHighQualityUser(ctx context.Context, in *common.PersonIDParam, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/quality/user/delete"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerDeleteHighQualityUser"))
-	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) ManagerFindCanHandpickUserList(ctx context.Context, in *common.ManagerFindCanHandpickUserListRequest, opts ...http.CallOption) (*common.ManagerFindCanHandpickUserListReply, error) {
-	var out common.ManagerFindCanHandpickUserListReply
-	pattern := "/api/manager/handpick/user/list"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerFindCanHandpickUserList"))
-	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) ManagerFindHighQualityUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...http.CallOption) (*common.ManagerFindPersonListReply, error) {
-	var out common.ManagerFindPersonListReply
-	pattern := "/api/manager/quality/user/list"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerFindHighQualityUserList"))
-	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) ManagerFindInformationUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...http.CallOption) (*common.ManagerFindPersonListReply, error) {
-	var out common.ManagerFindPersonListReply
-	pattern := "/api/manager/user/list/information"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerFindInformationUserList"))
-	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) ManagerFindIsCheckQualityUserList(ctx context.Context, in *ManagerFindIsCheckQualityUserListRequest, opts ...http.CallOption) (*common.ManagerFindPersonListReply2, error) {
-	var out common.ManagerFindPersonListReply2
-	pattern := "/api/manager/user/list/ischeckquality"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerFindIsCheckQualityUserList"))
-	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) ManagerFindUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...http.CallOption) (*common.ManagerFindPersonListReply, error) {
-	var out common.ManagerFindPersonListReply
-	pattern := "/api/manager/user/list"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerFindUserList"))
-	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) ManagerMarkHighQualityUser(ctx context.Context, in *ManagerMarkHighQualityUserRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/quality/user/set"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerMarkHighQualityUser"))
-	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) ManagerMarkHighQualityUserOne(ctx context.Context, in *common.PersonIDParam, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/quality/user/set/one"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerMarkHighQualityUserOne"))
-	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) ManagerReMarkHighQualityUser(ctx context.Context, in *ManagerReMarkHighQualityUserRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/quality/user/remark"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerReMarkHighQualityUser"))
-	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) ManagerSetHandpickUser(ctx context.Context, in *common.ManagerSetHandpickUserRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/handpick/user/set"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerSetHandpickUser"))
-	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) ManagerSetHandpickUserOne(ctx context.Context, in *common.ManagerSetHandpickUserOneRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/handpick/user/set/one"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerSetHandpickUserOne"))
-	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) ManagerSetUserBlack(ctx context.Context, in *common.PersonIDList, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/black/user/more"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerSetUserBlack"))
-	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) ManagerUpdateUserAvatar(ctx context.Context, in *common.ManagerUpdatePersonAvatarRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/user/avatar/update"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerUpdateUserAvatar"))
-	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) ManagerUpdateUserCredit(ctx context.Context, in *ManagerUpdateUserCreditRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/user/credit/add"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerUpdateUserCredit"))
-	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) ManagerUpdateUserIsBlack(ctx context.Context, in *common.ManagerUpdatePersonIsBlackRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/user/black/update"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerUpdateUserIsBlack"))
-	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) ManagerUpdateUserName(ctx context.Context, in *common.ManagerUpdatePersonNameRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/user/name/update"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerUpdateUserName"))
-	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) ManagerUpdateUserPictures(ctx context.Context, in *common.ManagerUpdatePersonPicturesRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/user/pictures/update"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerUpdateUserPictures"))
-	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) ManagerUpdateUserSignature(ctx context.Context, in *common.ManagerUpdatePersonSignatureRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/user/signature/update"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerUpdateUserSignature"))
-	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) ManagerUpdateUserVoice(ctx context.Context, in *common.ManagerUpdatePersonVoiceRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/user/Voice/update"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerUpdateUserVoice"))
-	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) ManagerUpdateUserWeight(ctx context.Context, in *common.ManagerUpdatePersonWeightRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
-	var out emptypb.Empty
-	pattern := "/api/manager/user/weight/update"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/ManagerUpdateUserWeight"))
-	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) PersonClickLookBack(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*common.ScripInfo, error) {
 	var out common.ScripInfo
 	pattern := "/api/user/scrip/look/back"

+ 63 - 166
js/api/user/user_http_pb.ts

@@ -1,7 +1,7 @@
 // @ts-ignore
 import request from '@/libs/request';
-import {UserInfo,UserBalance,UserFindChatListReply,CreateScripRequest,DeleteScripRequest,UserFindScripRequest,PersonLookScripRequest,ReplyScripRequest,KeyRequest,InformationStatus,UserRechargeRequest,PayInfo,RechargeList,VipRechargeList,FindPayOrderListRequest,PayOrderList,FindMatchingAvatarAndNumReply,UserFreeNum,GetRandomMatchingRequest,SendMessageRequest,VipInfo,GetUserLookHandPickNumReply,IsCanGetReturnRewordReply,UserPrivacyStatusInfo,ManagerFindIsCheckQualityUserListRequest,ManagerMarkHighQualityUserRequest,ManagerReMarkHighQualityUserRequest,ManagerUpdateUserCreditRequest,FindRecommendHighQualityUserRequest,FindRecommendHighQualityUserReply,GetUserDBMsgFromWebsocketReply,SendMsgReduceCreditRequest,UpdateUserMatchedNumRequest,UpdateUserMatchedNumAndReturnUserMsgReply,GetRecommendUserDBRequest,ReportUserBlackRequest,AddUserCreditRequest,UserGetInformationAwardByActivityRequest,UserGetInformationAwardByActivityReply,FindUserVipListDBReply,MatchUserDBWithoutMapRequest,UpdateTodayRequest,UpdateLastSendTemplateTimeRequest} from "./user_pb";
-import {SendPhoneCodeRequest,CheckPhoneCodeRequest,UpdateInformationRequest,CreateChatRoomParam,PersonParam,HomeInfo,LookedAndLikedNum,ListPageRequest,WxConfReq,WxConfResponse,SexReq,TagListReply,ListPage2Request,RecommendPersonListReply,FindChatRecordListRequest,ChatRecordListReply,FindChatRoomMsgRequest,ChatRoomMsg,IsLike,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex,MemeTitleList,ChatCardInfo,ReportChatRequest,FindOverSevenDayAvatarReply,UpdateLastScripIDRequest,ScripID,ScripReply,FindScripRequest,ScripInfo,ChatRecordInfo,RoomIDRequest,PartnerIDParam,AddFriendMessageInfo,SendMessageReply,HandpickPersonListReply,PersonIDParam,ManagerFindPersonListRequest,ManagerFindPersonListReply,ManagerFindPersonListReply2,ManagerFindCanHandpickUserListRequest,ManagerFindCanHandpickUserListReply,ManagerSetHandpickUserRequest,ManagerSetHandpickUserOneRequest,PersonIDList,ManagerUpdatePersonVoiceRequest,ManagerUpdatePersonPicturesRequest,ManagerUpdatePersonSignatureRequest,ManagerUpdatePersonAvatarRequest,ManagerUpdatePersonNameRequest,ManagerUpdatePersonWeightRequest,ManagerUpdatePersonIsBlackRequest,PersonMsg,PersonDBReply,UpdateLastScripIDDBRequest,IDParam,PersonDB,GetUserDBAndInitReq,PersonDBDetails} from "../common/common_pb";
+import {UserInfo,UserBalance,UserFindChatListReply,CreateScripRequest,DeleteScripRequest,UserFindScripRequest,PersonLookScripRequest,ReplyScripRequest,KeyRequest,InformationStatus,UserRechargeRequest,PayInfo,RechargeList,VipRechargeList,FindPayOrderListRequest,PayOrderList,FindMatchingAvatarAndNumReply,UserFreeNum,GetRandomMatchingRequest,SendMessageRequest,VipInfo,GetUserLookHandPickNumReply,IsCanGetReturnRewordReply,UserPrivacyStatusInfo,FindRecommendHighQualityUserRequest,FindRecommendHighQualityUserReply,GetUserDBMsgFromWebsocketReply,SendMsgReduceCreditRequest,UpdateUserMatchedNumRequest,UpdateUserMatchedNumAndReturnUserMsgReply,GetRecommendUserDBRequest,ReportUserBlackRequest,AddUserCreditRequest,UserGetInformationAwardByActivityRequest,UserGetInformationAwardByActivityReply,FindUserVipListDBReply,MatchUserDBWithoutMapRequest,UpdateTodayRequest,UpdateLastSendTemplateTimeRequest} from "./user_pb";
+import {SendPhoneCodeRequest,CheckPhoneCodeRequest,UpdateInformationRequest,CreateChatRoomParam,PersonParam,HomeInfo,LookedAndLikedNum,ListPageRequest,WxConfReq,WxConfResponse,SexReq,TagListReply,ListPage2Request,RecommendPersonListReply,FindChatRecordListRequest,ChatRecordListReply,FindChatRoomMsgRequest,ChatRoomMsg,IsLike,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex,MemeTitleList,ChatCardInfo,ReportChatRequest,FindOverSevenDayAvatarReply,UpdateLastScripIDRequest,ScripID,ScripReply,FindScripRequest,ScripInfo,ChatRecordInfo,RoomIDRequest,PartnerIDParam,AddFriendMessageInfo,SendMessageReply,HandpickPersonListReply,PersonIDParam,PersonMsg,PersonIDList,PersonDBReply,UpdateLastScripIDDBRequest,IDParam,PersonDB,GetUserDBAndInitReq,PersonDBDetails} from "../common/common_pb";
 import {RoomReply,UnreadNumReply,UserRoomInfo,CheckUserPartnerIsRelationshipReply,WindowInfo,GetRandomMatchingReply} from "../chat/chat_pb";
 import {LookAndLikeListReply,LookAndLikeMessageReply,LookMessageReply} from "../statistics/statistics_pb";
 
@@ -80,414 +80,311 @@ const UserService = {
 	const res = await request.post<{ data: UserFindChatListReply, code: string, message: string }>('/api/user/list/chat/over', req);
     return res.data.data;
   },
-  /**  密友列表 */
+  /**  15、密友列表 */
   FindCloseFriendRoomList: async (req?: ListPageRequest) => {
 	const res = await request.post<{ data: UserFindChatListReply, code: string, message: string }>('/api/user/list/chat/friend', req);
     return res.data.data;
   },
-  /**  15、用户查询聊天记录 */
+  /**  16、用户查询聊天记录 */
   FindChatRecordList: async (req?: FindChatRecordListRequest) => {
 	const res = await request.post<{ data: ChatRecordListReply, code: string, message: string }>('/api/user/chat/record', req);
     return res.data.data;
   },
-  /**  16、用户查询房间信息 */
+  /**  17、用户查询房间信息 */
   FindChatRoomMsg: async (req?: FindChatRoomMsgRequest) => {
 	const res = await request.post<{ data: ChatRoomMsg, code: string, message: string }>('/api/user/chat/room/msg', req);
     return res.data.data;
   },
-  /**  17、用户查询是否关注某人 */
+  /**  18、用户查询是否关注某人 */
   GetUserIsLike: async (req?: PersonParam) => {
 	const res = await request.post<{ data: IsLike, code: string, message: string }>('/api/user/islike', req);
     return res.data.data;
   },
-  /**  18、通过类型获取表情包列表 */
+  /**  19、通过类型获取表情包列表 */
   FindMemeByType: async (req?: MemeRequest) => {
 	const res = await request.post<{ data: MemeList, code: string, message: string }>('/api/user/find/meme/type', req);
     return res.data.data;
   },
-  /**  19、获取对方性别的聊天话题 */
+  /**  20、获取对方性别的聊天话题 */
   FindChatTopic: async (req?: FindChatTopicRequest) => {
 	const res = await request.post<{ data: ChatTopicList, code: string, message: string }>('/api/user/find/topic', req);
     return res.data.data;
   },
-  /**  20、随机表情包 */
+  /**  21、随机表情包 */
   RandomMeme: async (req?: RandomNum) => {
 	const res = await request.post<{ data: CommonTextList, code: string, message: string }>('/api/user/find/meme/random', req);
     return res.data.data;
   },
-  /**  21、随机打招呼 */
+  /**  22、随机打招呼 */
   RandomSwiftMessage: async (req?: RandomNumAndSex) => {
 	const res = await request.post<{ data: CommonTextList, code: string, message: string }>('/api/user/find/topic/random', req);
     return res.data.data;
   },
-  /**  22、表情包分类名 */
+  /**  23、表情包分类名 */
   FindMemeTitle: async (req?: undefined) => {
 	const res = await request.post<{ data: MemeTitleList, code: string, message: string }>('/api/user/find/meme/title', req);
     return res.data.data;
   },
-  /**  23、用户获取聊天对象的资料卡片 */
+  /**  24、用户获取聊天对象的资料卡片 */
   UserGetChatCard: async (req?: PersonParam) => {
 	const res = await request.post<{ data: ChatCardInfo, code: string, message: string }>('/api/user/chat/card', req);
     return res.data.data;
   },
-  /**  24、聊天话题分类名 */
+  /**  25、聊天话题分类名 */
   FindChatTopicTitle: async (req?: undefined) => {
 	const res = await request.post<{ data: MemeTitleList, code: string, message: string }>('/api/user/find/chat/title', req);
     return res.data.data;
   },
-  /**  25、用户关注某人 */
+  /**  26、用户关注某人 */
   UserLike: async (req?: PersonParam) => {
 	const res = await request.post('/api/user/like', req);
     return res.data.data;
   },
-  /**  26、用户取关某人 */
+  /**  27、用户取关某人 */
   UserUnLike: async (req?: PersonParam) => {
 	const res = await request.post('/api/user/unlike', req);
     return res.data.data;
   },
-  /**  27、举报某人 */
+  /**  28、举报某人 */
   Report: async (req?: ReportChatRequest) => {
 	const res = await request.post('/api/user/report', req);
     return res.data.data;
   },
-  /**  28、超过七天的头像列表 */
+  /**  29、超过七天的头像列表 */
   FindOverSevenDayAvatar: async (req?: undefined) => {
 	const res = await request.post<{ data: FindOverSevenDayAvatarReply, code: string, message: string }>('/api/user/over/avatar/list', req);
     return res.data.data;
   },
-  /**  29、更新上次访问的小纸条 */
+  /**  30、更新上次访问的小纸条 */
   UpdateLastScripID: async (req?: UpdateLastScripIDRequest) => {
 	const res = await request.post('/api/user/scrip/last/update', req);
     return res.data.data;
   },
-  /**  30、创建纸条 */
+  /**  31、创建纸条 */
   CreateScrip: async (req?: CreateScripRequest) => {
 	const res = await request.post<{ data: ScripID, code: string, message: string }>('/api/user/scrip/create', req);
     return res.data.data;
   },
-  /**  31、删除纸条 */
+  /**  32、删除纸条 */
   DeleteScrip: async (req?: DeleteScripRequest) => {
 	const res = await request.post('/api/user/scrip/delete', req);
     return res.data.data;
   },
-  /**  32、查询自己的小纸条 */
+  /**  33、查询自己的小纸条 */
   FindMyScrip: async (req?: UserFindScripRequest) => {
 	const res = await request.post<{ data: ScripReply, code: string, message: string }>('/api/user/scrip/find/self', req);
     return res.data.data;
   },
-  /**  33、查询别人的小纸条 */
+  /**  34、查询别人的小纸条 */
   FindOtherScrip: async (req?: FindScripRequest) => {
 	const res = await request.post<{ data: ScripReply, code: string, message: string }>('/api/user/scrip/find/other', req);
     return res.data.data;
   },
-  /**  34、查询随机纸条列表 */
+  /**  35、查询随机纸条列表 */
   FindRecommendScrip: async (req?: UserFindScripRequest) => {
 	const res = await request.post<{ data: ScripReply, code: string, message: string }>('/api/user/scrip/find/recommend', req);
     return res.data.data;
   },
-  /**  35、用户查看纸条 */
+  /**  36、用户查看纸条 */
   PersonLookScrip: async (req?: PersonLookScripRequest) => {
 	const res = await request.post('/api/user/scrip/look', req);
     return res.data.data;
   },
-  /**  36、用户点击回看 */
+  /**  37、用户点击回看 */
   PersonClickLookBack: async (req?: undefined) => {
 	const res = await request.post<{ data: ScripInfo, code: string, message: string }>('/api/user/scrip/look/back', req);
     return res.data.data;
   },
-  /**  37、用户回复小纸条 */
+  /**  38、用户回复小纸条 */
   PersonReplyScrip: async (req?: ReplyScripRequest) => {
 	const res = await request.post<{ data: ChatRecordInfo, code: string, message: string }>('/api/user/scrip/reply', req);
     return res.data.data;
   },
-  /**  38、用户删除房间 */
+  /**  39、用户删除房间 */
   UserDeleteChat: async (req?: RoomIDRequest) => {
 	const res = await request.post('/api/user/chat/delete', req);
     return res.data.data;
   },
-  /**  39、获取用户的总未读数 */
+  /**  40、获取用户的总未读数 */
   GetUserAllUnreadNum: async (req?: undefined) => {
 	const res = await request.post<{ data: UnreadNumReply, code: string, message: string }>('/api/user/chat/unread/num', req);
     return res.data.data;
   },
-  /**  40、用户查询与某人的房间 */
+  /**  41、用户查询与某人的房间 */
   GetUserRoomByPerson: async (req?: PersonParam) => {
 	const res = await request.post<{ data: UserRoomInfo, code: string, message: string }>('/api/user/room/info', req);
     return res.data.data;
   },
-  /**  41、查看我喜欢的列表 */
+  /**  42、查看我喜欢的列表 */
   FindLikeList: async (req?: ListPageRequest) => {
 	const res = await request.post<{ data: LookAndLikeListReply, code: string, message: string }>('/api/user/list/like', req);
     return res.data.data;
   },
-  /**  42、查看喜欢我的列表 */
+  /**  43、查看喜欢我的列表 */
   FindLikedList: async (req?: ListPageRequest) => {
 	const res = await request.post<{ data: LookAndLikeListReply, code: string, message: string }>('/api/user/list/liked', req);
     return res.data.data;
   },
-  /**  ---还未共用---
-// 用户拉黑某人 */
+  /**  44、用户拉黑某人 */
   UserSetBlackChat: async (req?: RoomIDRequest) => {
 	const res = await request.post('/api/user/set/black', req);
     return res.data.data;
   },
-  /**  ---用户专用---
-// 检查用户是否与接待员关联 */
+  /**  45、检查用户是否与接待员关联 */
   CheckUserPartnerIsRelationship: async (req?: PartnerIDParam) => {
 	const res = await request.post<{ data: CheckUserPartnerIsRelationshipReply, code: string, message: string }>('/api/user/check/relationship', req);
     return res.data.data;
   },
-  /**  获取接待员的确认通过页面信息 */
+  /**  46、获取接待员的确认通过页面信息 */
   GetPartnerCircleInfo: async (req?: KeyRequest) => {
 	const res = await request.post<{ data: AddFriendMessageInfo, code: string, message: string }>('/api/user/circle/info', req);
     return res.data.data;
   },
-  /**  获取用户的访客数以及关注数 */
+  /**  47、获取用户的访客数以及关注数 */
   GetLookAndLikeStatisticsMessage: async (req?: undefined) => {
 	const res = await request.post<{ data: LookAndLikeMessageReply, code: string, message: string }>('/api/user/num/like_look', req);
     return res.data.data;
   },
-  /**  获取用户访问数详情 */
+  /**  48、获取用户访问数详情 */
   GetUserLookNum: async (req?: undefined) => {
 	const res = await request.post<{ data: LookMessageReply, code: string, message: string }>('/api/user/look/num', req);
     return res.data.data;
   },
-  /**  用户完善资料 */
+  /**  49、用户完善资料 */
   UserFinishInformation: async (req?: undefined) => {
 	const res = await request.post('/api/user/information/finish', req);
     return res.data.data;
   },
-  /**  用户完善情况 */
+  /**  50、用户完善情况 */
   UserInformationStatus: async (req?: undefined) => {
 	const res = await request.post<{ data: InformationStatus, code: string, message: string }>('/api/user/information/status', req);
     return res.data.data;
   },
-  /**  用户获取完善资料奖励 */
+  /**  51、用户获取完善资料奖励 */
   UserGetInformationAward: async (req?: undefined) => {
 	const res = await request.post('/api/user/information/award', req);
     return res.data.data;
   },
-  /**  解锁"看过我的"的记录 */
+  /**  52、解锁"看过我的"的记录 */
   UnlockLookRecord: async (req?: PersonParam) => {
 	const res = await request.post('/api/user/look/unlock', req);
     return res.data.data;
   },
-  /**  用户充值 */
+  /**  53、用户充值 */
   UserRecharge: async (req?: UserRechargeRequest) => {
 	const res = await request.post<{ data: PayInfo, code: string, message: string }>('/api/user/recharge', req);
     return res.data.data;
   },
-  /**  用户充值 */
+  /**  54、用户充值vip */
   UserRechargeVip: async (req?: UserRechargeRequest) => {
 	const res = await request.post<{ data: PayInfo, code: string, message: string }>('/api/user/recharge/vip', req);
     return res.data.data;
   },
-  /**  充值套餐列表 */
+  /**  55、充值套餐列表 */
   FindRechargeList: async (req?: undefined) => {
 	const res = await request.post<{ data: RechargeList, code: string, message: string }>('/api/user/recharge/list', req);
     return res.data.data;
   },
-  /**  充值Vip套餐列表 */
+  /**  56、充值Vip套餐列表 */
   FindVipRechargeList: async (req?: undefined) => {
 	const res = await request.post<{ data: VipRechargeList, code: string, message: string }>('/api/user/recharge/vip/list', req);
     return res.data.data;
   },
-  /**  用户充值记录列表 */
+  /**  57、用户充值记录列表 */
   FindPayList: async (req?: FindPayOrderListRequest) => {
 	const res = await request.post<{ data: PayOrderList, code: string, message: string }>('/api/user/pay/list', req);
     return res.data.data;
   },
-  /**  查询推荐人的列表 */
+  /**  58、查询推荐人的列表 */
   FindRecommendPersonList: async (req?: undefined) => {
 	const res = await request.post<{ data: RecommendPersonListReply, code: string, message: string }>('/api/user/list/recommend', req);
     return res.data.data;
   },
-  /**  获取匹配的头像数组以及数量 */
+  /**  59、获取匹配的头像数组以及数量 */
   FindMatchingAvatarAndNum: async (req?: undefined) => {
 	const res = await request.post<{ data: FindMatchingAvatarAndNumReply, code: string, message: string }>('/api/user/matching/message', req);
     return res.data.data;
   },
-  /**  获取假弹窗 */
+  /**  60、获取假弹窗 */
   GetWindowInfo: async (req?: undefined) => {
 	const res = await request.post<{ data: WindowInfo, code: string, message: string }>('/api/user/chat/window/get', req);
     return res.data.data;
   },
-  /**  用户的每日免费数 */
+  /**  61、用户的每日免费数 */
   GetUserFreeNum: async (req?: undefined) => {
 	const res = await request.post<{ data: UserFreeNum, code: string, message: string }>('/api/user/free/num', req);
     return res.data.data;
   },
-  /**  随机速配 */
+  /**  62、随机速配 */
   GetRandomMatching: async (req?: GetRandomMatchingRequest) => {
 	const res = await request.post<{ data: GetRandomMatchingReply, code: string, message: string }>('/api/user/random/matching', req);
     return res.data.data;
   },
-  /**  解锁语音扣费 */
+  /**  63、解锁语音扣费 */
   UnlockVoice: async (req?: RoomIDRequest) => {
 	const res = await request.post('/api/user/unlock/voice', req);
     return res.data.data;
   },
-  /**  解锁图片扣费 */
+  /**  64、解锁图片扣费 */
   UnlockPicture: async (req?: RoomIDRequest) => {
 	const res = await request.post('/api/user/unlock/picture', req);
     return res.data.data;
   },
-  /**  更新用户注册状态 */
+  /**  65、更新用户注册状态 */
   UpdateUserIsRegister: async (req?: undefined) => {
 	const res = await request.post('/api/user/update/register', req);
     return res.data.data;
   },
-  /**  创建用户与接待员的关联 */
+  /**  66、创建用户与接待员的关联 */
   CreateUserPartnerRoom: async (req?: CreateChatRoomParam) => {
 	const res = await request.post<{ data: RoomReply, code: string, message: string }>('/api/user/create/room/partner', req);
     return res.data.data;
   },
-  /**  用户发送消息
-// 发送消息 */
+  /**  67、用户发送消息 */
   SendMessage: async (req?: SendMessageRequest) => {
 	const res = await request.post<{ data: SendMessageReply, code: string, message: string }>('/api/user/message/send', req);
     return res.data.data;
   },
+  /**  68、获取用户vip信息 */
   GetVipInfo: async (req?: undefined) => {
 	const res = await request.post<{ data: VipInfo, code: string, message: string }>('/api/vip/info', req);
     return res.data.data;
   },
-  /**  精选列表 */
+  /**  69、精选列表 */
   FindHandpickUser: async (req?: undefined) => {
 	const res = await request.post<{ data: HandpickPersonListReply, code: string, message: string }>('/api/handpick/list', req);
     return res.data.data;
   },
-  /**  查询用户查看精选表的次数 */
+  /**  70、查询用户查看精选表的次数 */
   GetUserLookHandPickNum: async (req?: undefined) => {
 	const res = await request.post<{ data: GetUserLookHandPickNumReply, code: string, message: string }>('/api/user/look/handpick/num', req);
     return res.data.data;
   },
-  /**  设置用户查看精选表的次数 */
+  /**  71、设置用户查看精选表的次数 */
   SetUserLookHandPickNum: async (req?: PersonIDParam) => {
 	const res = await request.post('/api/user/look/handpick/num/set', req);
     return res.data.data;
   },
-  /**  获取用户是能否领取回归奖励 */
+  /**  72、获取用户是能否领取回归奖励 */
   IsCanGetReturnReword: async (req?: undefined) => {
 	const res = await request.post<{ data: IsCanGetReturnRewordReply, code: string, message: string }>('/api/user/return/reword/status', req);
     return res.data.data;
   },
-  /**  用户领取回归奖励 */
+  /**  73、用户领取回归奖励 */
   UserGetReturnReword: async (req?: undefined) => {
 	const res = await request.post('/api/user/return/reword/get', req);
     return res.data.data;
   },
-  /**  用户隐私状态 */
+  /**  74、用户隐私状态 */
   UserPrivacyStatus: async (req?: undefined) => {
 	const res = await request.post<{ data: UserPrivacyStatusInfo, code: string, message: string }>('/api/user/privacy/status', req);
     return res.data.data;
   },
-  /**  用户设置隐私状态 */
+  /**  75、用户设置隐私状态 */
   UserSetPrivacyStatus: async (req?: UserPrivacyStatusInfo) => {
 	const res = await request.post('/api/user/privacy/set', req);
     return res.data.data;
   },
-  /**  ---manager---
-// 管理员查询用户列表 */
-  ManagerFindUserList: async (req?: ManagerFindPersonListRequest) => {
-	const res = await request.post<{ data: ManagerFindPersonListReply, code: string, message: string }>('/api/manager/user/list', req);
-    return res.data.data;
-  },
-  /**  管理员查询完善过资料的用户列表 */
-  ManagerFindInformationUserList: async (req?: ManagerFindPersonListRequest) => {
-	const res = await request.post<{ data: ManagerFindPersonListReply, code: string, message: string }>('/api/manager/user/list/information', req);
-    return res.data.data;
-  },
-  /**  管理员查询已审核过信息的列表 */
-  ManagerFindIsCheckQualityUserList: async (req?: ManagerFindIsCheckQualityUserListRequest) => {
-	const res = await request.post<{ data: ManagerFindPersonListReply2, code: string, message: string }>('/api/manager/user/list/ischeckquality', req);
-    return res.data.data;
-  },
-  /**  管理员查询优质用户列表 */
-  ManagerFindHighQualityUserList: async (req?: ManagerFindPersonListRequest) => {
-	const res = await request.post<{ data: ManagerFindPersonListReply, code: string, message: string }>('/api/manager/quality/user/list', req);
-    return res.data.data;
-  },
-  /**  管理员查询精选用户 */
-  ManagerFindCanHandpickUserList: async (req?: ManagerFindCanHandpickUserListRequest) => {
-	const res = await request.post<{ data: ManagerFindCanHandpickUserListReply, code: string, message: string }>('/api/manager/handpick/user/list', req);
-    return res.data.data;
-  },
-  /**  管理员批量更新精选用户 */
-  ManagerSetHandpickUser: async (req?: ManagerSetHandpickUserRequest) => {
-	const res = await request.post('/api/manager/handpick/user/set', req);
-    return res.data.data;
-  },
-  /**  管理员更新单个精选用户 */
-  ManagerSetHandpickUserOne: async (req?: ManagerSetHandpickUserOneRequest) => {
-	const res = await request.post('/api/manager/handpick/user/set/one', req);
-    return res.data.data;
-  },
-  /**  管理员标记优质用户 */
-  ManagerMarkHighQualityUser: async (req?: ManagerMarkHighQualityUserRequest) => {
-	const res = await request.post('/api/manager/quality/user/set', req);
-    return res.data.data;
-  },
-  /**  管理员批量取消标记优质用户 */
-  ManagerReMarkHighQualityUser: async (req?: ManagerReMarkHighQualityUserRequest) => {
-	const res = await request.post('/api/manager/quality/user/remark', req);
-    return res.data.data;
-  },
-  /**  管理员标记单个优质用户 */
-  ManagerMarkHighQualityUserOne: async (req?: PersonIDParam) => {
-	const res = await request.post('/api/manager/quality/user/set/one', req);
-    return res.data.data;
-  },
-  /**  管理员批量拉黑用户 */
-  ManagerSetUserBlack: async (req?: PersonIDList) => {
-	const res = await request.post('/api/manager/black/user/more', req);
-    return res.data.data;
-  },
-  /**  管理员取消标记优质用户 */
-  ManagerDeleteHighQualityUser: async (req?: PersonIDParam) => {
-	const res = await request.post('/api/manager/quality/user/delete', req);
-    return res.data.data;
-  },
-  /**  管理员更新用户语音 */
-  ManagerUpdateUserVoice: async (req?: ManagerUpdatePersonVoiceRequest) => {
-	const res = await request.post('/api/manager/user/Voice/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新用户相册 */
-  ManagerUpdateUserPictures: async (req?: ManagerUpdatePersonPicturesRequest) => {
-	const res = await request.post('/api/manager/user/pictures/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新用户签名 */
-  ManagerUpdateUserSignature: async (req?: ManagerUpdatePersonSignatureRequest) => {
-	const res = await request.post('/api/manager/user/signature/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新用户头像 */
-  ManagerUpdateUserAvatar: async (req?: ManagerUpdatePersonAvatarRequest) => {
-	const res = await request.post('/api/manager/user/avatar/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新用户昵称 */
-  ManagerUpdateUserName: async (req?: ManagerUpdatePersonNameRequest) => {
-	const res = await request.post('/api/manager/user/name/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新用户权重 */
-  ManagerUpdateUserWeight: async (req?: ManagerUpdatePersonWeightRequest) => {
-	const res = await request.post('/api/manager/user/weight/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新用户是否拉黑 */
-  ManagerUpdateUserIsBlack: async (req?: ManagerUpdatePersonIsBlackRequest) => {
-	const res = await request.post('/api/manager/user/black/update', req);
-    return res.data.data;
-  },
-  /**  管理员增加用户积分 */
-  ManagerUpdateUserCredit: async (req?: ManagerUpdateUserCreditRequest) => {
-	const res = await request.post('/api/manager/user/credit/add', req);
-    return res.data.data;
-  },
 
 };
 

+ 0 - 22
js/api/user/user_pb.ts

@@ -107,28 +107,6 @@ export interface SendMessageRequest{
     msgType?:string;
     websocketTag?:string;
 }
-export interface ManagerFindIsCheckQualityUserListRequest{
-    page?:number;
-    pageSize?:number;
-    /**  用户ID */
-    id?:number;
-    /**  姓名 */
-    name?:string;
-    /**  性别 */
-    sex?:number;
-}
-export interface ManagerUpdateUserCreditRequest{
-    personId?:string;
-    num?:number;
-    title?:string;
-}
-export interface ManagerMarkHighQualityUserRequest{
-    passIds?:Array<string>;
-    unPassIds?:Array<string>;
-}
-export interface ManagerReMarkHighQualityUserRequest{
-    userIds?:Array<string>;
-}
 export interface GetRecommendUserDBRequest{
     sex?:number;
     /**  匹配过的用户 */

部分文件因文件數量過多而無法顯示