wfz hace 3 años
padre
commit
e38bfea161

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 265 - 712
api/partner/partner.pb.go


+ 506 - 510
api/partner/partner.proto

@@ -6,418 +6,14 @@ import "google/api/annotations.proto";
 //import "google/protobuf/struct.proto";
 import "google/protobuf/empty.proto";
 import "api/common/common.proto";
-import "api/statistics/statistics.proto";
-import "api/chat/chat.proto";
+//import "api/statistics/statistics.proto";
+//import "api/chat/chat.proto";
 
 option go_package = "git.ikuban.com/server/pw-protobuf/api/partner;partner";
 option java_multiple_files = true;
 option java_package = "api.partner";
 
 service Partner {
-  // 1、获取接待员的个人信息
-  rpc GetPartnerInfo (google.protobuf.Empty) returns (PartnerInfo){
-    option (google.api.http) = {
-      post: "/api/partner/info",
-      body:"*"
-    };
-  };
-  // 2、接待员发送验证码
-  rpc SendPhoneCode (common.SendPhoneCodeRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/code/send",
-      body:"*"
-    };
-  };
-  // 3、接待员验证验证码
-  rpc CheckPhoneCode (common.CheckPhoneCodeRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/code/check",
-      body:"*"
-    };
-  };
-  // 4、更新接待员的信息
-  rpc UpdatePartnerInformation (common.UpdateInformationRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/update/information",
-      body:"*"
-    };
-  };
-  // 5、创建用户与接待员的关联
-  rpc CreateUserPartnerRoom (common.CreateChatRoomParam) returns (chat.RoomReply){
-    option (google.api.http) = {
-      post: "/api/partner/create/room",
-      body:"*"
-    };
-  };
-  // 6、获取接待员的金额信息
-  rpc GetPartnerBalance (google.protobuf.Empty) returns (PartnerBalance){
-    option (google.api.http) = {
-      post: "/api/partner/balance",
-      body:"*"
-    };
-  };
-  // 7、接待员获取ta的主页信息
-  rpc PartnerGetHomeInfo (common.PersonParam) returns (common.HomeInfo){
-    option (google.api.http) = {
-      post: "/api/partner/home",
-      body:"*"
-    };
-  };
-  // 8、接待员获取ta的主页访客、关注数
-  rpc PartnerGetPersonLikedAndLooked (common.PersonParam) returns (common.LookedAndLikedNum){
-    option (google.api.http) = {
-      post: "/api/partner/num",
-      body:"*"
-    };
-  };
-  // 9、查看看过我的列表
-  rpc FindLookList (common.ListPageRequest) returns (statistics.LookAndLikeListReply){
-    option (google.api.http) = {
-      post: "/api/partner/list/look",
-      body:"*"
-    };
-  };
-  // 10、微信SDK初始化
-  rpc WxConf (common.WxConfReq) returns (common.WxConfResponse){
-    option (google.api.http) = {
-      post: "/api/wx/jssdk/config",
-      body:"*"
-    };
-  };
-  // 11、获取标签列表
-  rpc FindTagListBySex (common.SexReq) returns (common.TagListReply){
-    option (google.api.http) = {
-      post: "/api/partner/list/tag",
-      body:"*"
-    };
-  };
-  // 12、获取在线列表
-  rpc FindOnlineList (common.ListPage2Request) returns (common.RecommendPersonListReply){
-    option (google.api.http) = {
-      post: "/api/partner/list/online",
-      body:"*"
-    };
-  };
-  // 13、七天内列表(当前会话)
-  rpc FindWithinSevenDayRoomList (common.ListPageRequest) returns (chat.PartnerFindRoomListReply){
-    option (google.api.http) = {
-      post: "/api/partner/list/chat/within",
-      body:"*"
-    };
-  };
-  // 14、七天外列表(更早的聊天记录)
-  rpc FindOverSevenDayRoomList (common.ListPageRequest) returns (chat.PartnerFindRoomListReply){
-    option (google.api.http) = {
-      post: "/api/partner/list/chat/over",
-      body:"*"
-    };
-  };
-  // 15、接待者查询聊天记录
-  rpc FindChatRecordList (common.FindChatRecordListRequest) returns (common.ChatRecordListReply){
-    option (google.api.http) = {
-      post: "/api/partner/chat/record",
-      body:"*"
-    };
-  };
-  // 16、接待者查询房间信息
-  rpc FindChatRoomMsg (common.FindChatRoomMsgRequest) returns (common.ChatRoomMsg){
-    option (google.api.http) = {
-      post: "/api/partner/chat/room/msg",
-      body:"*"
-    };
-  };
-  // 17、接待员查询是否关注某人
-  rpc GetPartnerIsLike (common.PersonParam) returns (common.IsLike){
-    option (google.api.http) = {
-      post: "/api/partner/islike",
-      body:"*"
-    };
-  };
-  // 18、通过类型获取表情包列表
-  rpc FindMemeByType (common.MemeRequest) returns (common.MemeList){
-    option (google.api.http) = {
-      post: "/api/partner/find/meme/type",
-      body:"*"
-    };
-  };
-  // 19、获取对方性别的聊天话题
-  rpc FindChatTopic (common.FindChatTopicRequest) returns (common.ChatTopicList){
-    option (google.api.http) = {
-      post: "/api/partner/find/topic",
-      body:"*"
-    };
-  };
-  // 20、随机表情包
-  rpc RandomMeme (common.RandomNum) returns (common.CommonTextList){
-    option (google.api.http) = {
-      post: "/api/partner/find/meme/random",
-      body:"*"
-    };
-  };
-  // 21、随机打招呼
-  rpc RandomSwiftMessage (common.RandomNumAndSex) returns (common.CommonTextList){
-    option (google.api.http) = {
-      post: "/api/partner/find/topic/random",
-      body:"*"
-    };
-  };
-  // 22、表情包分类名
-  rpc FindMemeTitle (google.protobuf.Empty) returns (common.MemeTitleList){
-    option (google.api.http) = {
-      post: "/api/partner/find/meme/title",
-      body:"*"
-    };
-  };
-  // 24、聊天话题分类名
-  rpc FindChatTopicTitle (google.protobuf.Empty) returns (common.MemeTitleList){
-    option (google.api.http) = {
-      post: "/api/partner/find/chat/title",
-      body:"*"
-    };
-  };
-  // 25、接待员关注某人
-  rpc PartnerLike(common.PersonParam) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/like",
-      body:"*"
-    };
-  };
-  // 26、接待员取关某人
-  rpc PartnerUnLike(common.PersonParam) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/unlike",
-      body:"*"
-    };
-  };
-  // 27、举报某人
-  rpc Report (common.ReportChatRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/report",
-      body:"*"
-    };
-  };
-  // 28、超过七天的头像列表
-  rpc FindOverSevenDayAvatar (google.protobuf.Empty) returns (common.FindOverSevenDayAvatarReply){
-    option (google.api.http) = {
-      post: "/api/partner/over/avatar/list",
-      body:"*"
-    };
-  };
-  // 29、更新上次访问的小纸条
-  rpc UpdateLastScripID (common.UpdateLastScripIDRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/scrip/last/update",
-      body:"*"
-    };
-  };
-  // 30、创建纸条
-  rpc CreateScrip (CreateScripRequest) returns (common.ScripID){
-    option (google.api.http) = {
-      post: "/api/partner/scrip/create",
-      body:"*"
-    };
-  };
-  // 31、删除纸条
-  rpc DeleteScrip (common.ScripIdRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/scrip/delete",
-      body:"*"
-    };
-  };
-  // 32、查询自己的小纸条
-  rpc FindMyScrip (common.ListPageRequest) returns (common.ScripReply){
-    option (google.api.http) = {
-      post: "/api/partner/scrip/find/self",
-      body:"*"
-    };
-  };
-  // 33、查询别人的小纸条
-  rpc FindOtherScrip (common.FindScripRequest) returns (common.ScripReply){
-    option (google.api.http) = {
-      post: "/api/partner/scrip/find/other",
-      body:"*"
-    };
-  };
-  // 34、查询随机纸条列表
-  rpc FindRecommendScrip (common.ListPageRequest) returns (common.ScripReply){
-    option (google.api.http) = {
-      post: "/api/partner/scrip/find/recommend",
-      body:"*"
-    };
-  };
-  // 35、用户查看纸条
-  rpc PersonLookScrip (common.ScripIdRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/scrip/look",
-      body:"*"
-    };
-  };
-  // 36、用户点击回看
-  rpc PersonClickLookBack (google.protobuf.Empty) returns (common.ScripInfo){
-    option (google.api.http) = {
-      post: "/api/partner/scrip/look/back",
-      body:"*"
-    };
-  };
-  // 37、用户回复小纸条
-  rpc PersonReplyScrip (ReplyScripRequest) returns (common.ChatRecordInfo){
-    option (google.api.http) = {
-      post: "/api/partner/scrip/reply",
-      body:"*"
-    };
-  };
-  // 38、用户删除房间
-  rpc PartnerDeleteChat (common.RoomIDRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/chat/delete",
-      body:"*"
-    };
-  };
-  // 39、获取用户的总未读数
-  rpc GetPartnerAllUnreadNum (google.protobuf.Empty) returns (chat.UnreadNumReply){
-    option (google.api.http) = {
-      post: "/api/partner/chat/unread/num",
-      body:"*"
-    };
-  };
-  // 40、接待员查询与某人的房间
-  rpc GetPartnerRoomByPerson (common.PersonParam) returns (chat.PartnerRoomInfo){
-    option (google.api.http) = {
-      post: "/api/partner/room/info",
-      body:"*"
-    };
-  };
-  // 41、查看我喜欢的列表
-  rpc FindLikeList (common.ListPageRequest) returns (statistics.LookAndLikeListReply){
-    option (google.api.http) = {
-      post: "/api/partner/list/like",
-      body:"*"
-    };
-  };
-  // 42、查看喜欢我的列表
-  rpc FindLikedList (common.ListPageRequest) returns (statistics.LookAndLikeListReply){
-    option (google.api.http) = {
-      post: "/api/partner/list/liked",
-      body:"*"
-    };
-  };
-
-
-  //  // 拉黑某人
-  //  rpc PartnerSetBlackChat (common.RoomIDRequest) returns (google.protobuf.Empty){
-  //    option (google.api.http) = {
-  //      post: "/api/partner/set/black",
-  //      body:"*"
-  //    };
-  //  };
-
-  // ---接待员专用---
-  // 接待员收藏某条记录
-  rpc PartnerCollect (PartnerCollectIDsRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/collect",
-      body:"*"
-    };
-  };
-  // 接待员取消收藏某条记录
-  rpc PartnerDeleteCollect (PartnerCollectRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/collect/delete",
-      body:"*"
-    };
-  };
-  // 查询接待员在本房间的收藏列表
-  rpc FindChatCollectList (common.FindChatRecordListRequest) returns (common.ChatRecordListReply){
-    option (google.api.http) = {
-      post: "/api/partner/collect/list",
-      body:"*"
-    };
-  };
-  // 获取接待员的部分信息
-  rpc GetPartnerMessage (google.protobuf.Empty) returns (PartnerMessage){
-    option (google.api.http) = {
-      post: "/api/partner/message",
-      body:"*"
-    };
-  };
-  // 获取接待员访问数详情
-  rpc GetPartnerLookNum (google.protobuf.Empty) returns (statistics.LookMessageReply){
-    option (google.api.http) = {
-      post: "/api/partner/num/look",
-      body:"*"
-    };
-  };
-  // 未读列表(排队中)
-  rpc FindUnReplyRoomList (common.ListPageRequest) returns (chat.PartnerFindRoomListReply){
-    option (google.api.http) = {
-      post: "/api/partner/list/chat/unreply",
-      body:"*"
-    };
-  };
-  // 获取等级对应收益表
-  rpc GetLevelBalanceTable (google.protobuf.Empty) returns (LevelTable){
-    option (google.api.http) = {
-      post: "/api/partner/level/table",
-      body:"*"
-    };
-  };
-  // 接待员领取开通奖励
-  rpc PartnerGetAward (PartnerGetAwardRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/chat/award",
-      body:"*"
-    };
-  };
-  // 接待员更新工作状态
-  rpc PartnerUpdateWorkingStatus (PartnerUpdateWorkingStatusRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/working/status/update",
-      body:"*"
-    };
-  };
-  // 查询未处理的数据
-  rpc FindNotReplyNum (google.protobuf.Empty) returns (chat.FindNotReplyNumReply){
-    option (google.api.http) = {
-      post: "/api/partner/chat/unreply/num",
-      body:"*"
-    };
-  };
-  // 接待员申请提现
-  rpc PartnerApplyWithdraw (PartnerApplyWithdrawRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/withdraw",
-      body:"*"
-    };
-  };
-  // 接待员提现模板列表
-  rpc PartnerWithdrawTemplateList (google.protobuf.Empty) returns (PartnerWithdrawTemplateListReply){
-    option (google.api.http) = {
-      post: "/api/partner/withdraw/template/list",
-      body:"*"
-    };
-  };
-  // 接待员提现记录列表
-  rpc PartnerWithdrawRecordList (common.ListPageRequest) returns (PartnerWithdrawRecordListReply){
-    option (google.api.http) = {
-      post: "/api/partner/withdraw/record/list",
-      body:"*"
-    };
-  };
-  // 接待员获取房间收益以及今日收益
-  rpc PartnerGetRoomBalanceAndTodayBalance (common.RoomIDRequest) returns (PartnerGetRoomBalanceAndTodayBalanceReply){
-    option (google.api.http) = {
-      post: "/api/partner/balance/room",
-      body:"*"
-    };
-  };
-  // 接待员注册
-  rpc PartnerRegister (common.UpdateInformationRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/partner/register",
-      body:"*"
-    };
-  };
-
   // ---manager---
   // 接待员审核列表
   rpc FindExamineList (common.ListPage2Request) returns (FindExamineListReply){
@@ -468,140 +64,540 @@ service Partner {
       body:"*"
     };
   };
-  // 管理员查询接待员列表
-  rpc ManagerFindPartnerList (common.ManagerFindPersonListRequest) returns (common.ManagerFindPersonListReply){
-    option (google.api.http) = {
-      post: "/api/manager/partner/list",
-      body:"*"
-    };
-  };
-  // 管理员更新接待员语音
-  rpc ManagerUpdatePartnerVoice (common.ManagerUpdatePersonVoiceRequest) returns (google.protobuf.Empty){
+  // 管理员查询纸条列表
+  rpc ManagerFindScripList (common.ManagerFindScripListRequest) returns (common.ManagerScripReply){
     option (google.api.http) = {
-      post: "/api/manager/partner/Voice/update",
+      post: "/api/manager/scrip/list",
       body:"*"
     };
   };
-  // 管理员更新接待员相册
-  rpc ManagerUpdatePartnerPictures (common.ManagerUpdatePersonPicturesRequest) returns (google.protobuf.Empty){
+  // 管理员更新纸条文字
+  rpc ManagerUpdateScripText (common.ManagerUpdateScripTextRequest) returns (google.protobuf.Empty){
     option (google.api.http) = {
-      post: "/api/manager/partner/pictures/update",
+      post: "/api/manager/update/scrip/text",
       body:"*"
     };
   };
-  // 管理员更新接待员签名
-  rpc ManagerUpdatePartnerSignature (common.ManagerUpdatePersonSignatureRequest) returns (google.protobuf.Empty){
+  // 管理员更新纸条图片
+  rpc ManagerUpdateScripPicture (common.ManagerUpdateScripPictureRequest) returns (google.protobuf.Empty){
     option (google.api.http) = {
-      post: "/api/manager/partner/signature/update",
+      post: "/api/manager/update/scrip/picture",
       body:"*"
     };
   };
-  // 管理员更新接待员头像
-  rpc ManagerUpdatePartnerAvatar (common.ManagerUpdatePersonAvatarRequest) returns (google.protobuf.Empty){
+  // 管理员删除纸条
+  rpc ManagerDeleteScrip (common.IDParam) returns (google.protobuf.Empty){
     option (google.api.http) = {
-      post: "/api/manager/partner/avatar/update",
+      post: "/api/manager/delete/scrip",
       body:"*"
     };
   };
-  // 管理员更新接待员昵称
-  rpc ManagerUpdatePartnerName (common.ManagerUpdatePersonNameRequest) returns (google.protobuf.Empty){
+  // 管理员查询举报列表
+  rpc ManagerFindReportList (common.ManagerFindReportListRequest) returns (common.ManagerFindReportListReply){
     option (google.api.http) = {
-      post: "/api/manager/partner/name/update",
+      post: "/api/manager/report/list",
       body:"*"
     };
   };
-  // 管理员更新接待员权重
-  rpc ManagerUpdatePartnerWeight (common.ManagerUpdatePersonWeightRequest) returns (google.protobuf.Empty){
+  // 管理员查询某个举报者的举报详情列表
+  rpc ManagerFindReportDetailsList (common.ManagerFindReportDetailsListRequest) returns (common.ManagerFindReportDetailsListReply){
     option (google.api.http) = {
-      post: "/api/manager/partner/weight/update",
+      post: "/api/manager/report/details/list",
       body:"*"
     };
   };
-  // 管理员更新接待员是否拉黑
-  rpc ManagerUpdatePartnerIsBlack (common.ManagerUpdatePersonIsBlackRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/partner/black/update",
-      body:"*"
-    };
-  };
-  // 管理员查询纸条列表
-  rpc ManagerFindScripList (common.ManagerFindScripListRequest) returns (common.ManagerScripReply){
-    option (google.api.http) = {
-      post: "/api/manager/scrip/list",
-      body:"*"
-    };
-  };
-  // 管理员更新纸条文字
-  rpc ManagerUpdateScripText (common.ManagerUpdateScripTextRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/update/scrip/text",
-      body:"*"
-    };
-  };
-  // 管理员更新纸条图片
-  rpc ManagerUpdateScripPicture (common.ManagerUpdateScripPictureRequest) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/update/scrip/picture",
-      body:"*"
-    };
-  };
-  // 管理员删除纸条
-  rpc ManagerDeleteScrip (common.IDParam) returns (google.protobuf.Empty){
-    option (google.api.http) = {
-      post: "/api/manager/delete/scrip",
-      body:"*"
-    };
-  };
-  // 管理员查询举报列表
-  rpc ManagerFindReportList (common.ManagerFindReportListRequest) returns (common.ManagerFindReportListReply){
-    option (google.api.http) = {
-      post: "/api/manager/report/list",
-      body:"*"
-    };
-  };
-  // 管理员查询某个举报者的举报详情列表
-  rpc ManagerFindReportDetailsList (common.ManagerFindReportDetailsListRequest) returns (common.ManagerFindReportDetailsListReply){
-    option (google.api.http) = {
-      post: "/api/manager/report/details/list",
-      body:"*"
-    };
-  };
-
-  // ---rpc---
-  // 1、获取用户详情
-  rpc GetPartnerDBMsg (common.PersonIDParam) returns (common.PersonMsg);
-  // 2、通过接待员IDs查看接待员信息列表
-  rpc FindPartnerDBList (common.PersonIDList) returns (common.PersonDBReply);
-  // 3、对内更新
-  rpc UpdateLastScripIDDB (common.UpdateLastScripIDDBRequest) returns (google.protobuf.Empty){};
-  // 4、查询推荐用户的数据
-  rpc FindRecommendPartnerDBList (common.FindRecommendRequest) returns (common.PersonDBReply){};
-  // 5、更新上次登录时间
-  rpc UpdatePartnerLastLoginTime (common.PersonIDParam) returns (google.protobuf.Empty){};
-  // 6、通过userID查询用户
-  rpc GetPartnerDBMsgByPartner (common.IDParam) returns (common.PersonMsg);
 
-  // 获取接待员金额
-  rpc GetPartnerDBBalance (common.PartnerIDParam) returns (PartnerDBBalance){}
-  // 增加接待员金额
-  rpc AddPartnerBalance(AddPartnerBalanceRequest) returns (google.protobuf.Empty){};
-  // 获取接待员的确认通过页面信息
-  rpc GetPartnerCircleInfo (common.PartnerIDParam) returns (common.AddFriendMessageInfo);
-  // 获取一个推荐用户
-  rpc GetRecommendPartnerDB (GetRecommendPartnerDBRequest) returns (common.PersonDB){};
-  // 有未接待过的新用户发来消息(包括小纸条被未接待过的新用户回复)发送模板消息
-  rpc SendNewUserSendMessage (common.PersonIDParam) returns (google.protobuf.Empty){};
-  // 接待过的用户发来新消息 发送模板消息
-  rpc SendOverOneMinuteUnreadMessageMessage (SendOverOneMinuteUnreadMessageMessageRequest) returns (google.protobuf.Empty){};
+  //  // 管理员查询接待员列表
+  //  rpc ManagerFindPartnerList (common.ManagerFindPersonListRequest) returns (common.ManagerFindPersonListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/manager/partner/list",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 管理员更新接待员语音
+  //  rpc ManagerUpdatePartnerVoice (common.ManagerUpdatePersonVoiceRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/manager/partner/Voice/update",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 管理员更新接待员相册
+  //  rpc ManagerUpdatePartnerPictures (common.ManagerUpdatePersonPicturesRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/manager/partner/pictures/update",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 管理员更新接待员签名
+  //  rpc ManagerUpdatePartnerSignature (common.ManagerUpdatePersonSignatureRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/manager/partner/signature/update",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 管理员更新接待员头像
+  //  rpc ManagerUpdatePartnerAvatar (common.ManagerUpdatePersonAvatarRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/manager/partner/avatar/update",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 管理员更新接待员昵称
+  //  rpc ManagerUpdatePartnerName (common.ManagerUpdatePersonNameRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/manager/partner/name/update",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 管理员更新接待员权重
+  //  rpc ManagerUpdatePartnerWeight (common.ManagerUpdatePersonWeightRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/manager/partner/weight/update",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 管理员更新接待员是否拉黑
+  //  rpc ManagerUpdatePartnerIsBlack (common.ManagerUpdatePersonIsBlackRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/manager/partner/black/update",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 1、获取接待员的个人信息
+  //  rpc GetPartnerInfo (google.protobuf.Empty) returns (PartnerInfo){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/info",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 2、接待员发送验证码
+  //  rpc SendPhoneCode (common.SendPhoneCodeRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/code/send",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 3、接待员验证验证码
+  //  rpc CheckPhoneCode (common.CheckPhoneCodeRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/code/check",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 4、更新接待员的信息
+  //  rpc UpdatePartnerInformation (common.UpdateInformationRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/update/information",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 5、创建用户与接待员的关联
+  //  rpc CreateUserPartnerRoom (common.CreateChatRoomParam) returns (chat.RoomReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/create/room",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 6、获取接待员的金额信息
+  //  rpc GetPartnerBalance (google.protobuf.Empty) returns (PartnerBalance){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/balance",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 7、接待员获取ta的主页信息
+  //  rpc PartnerGetHomeInfo (common.PersonParam) returns (common.HomeInfo){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/home",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 8、接待员获取ta的主页访客、关注数
+  //  rpc PartnerGetPersonLikedAndLooked (common.PersonParam) returns (common.LookedAndLikedNum){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/num",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 9、查看看过我的列表
+  //  rpc FindLookList (common.ListPageRequest) returns (statistics.LookAndLikeListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/list/look",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 10、微信SDK初始化
+  //  rpc WxConf (common.WxConfReq) returns (common.WxConfResponse){
+  //    option (google.api.http) = {
+  //      post: "/api/wx/jssdk/config",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 11、获取标签列表
+  //  rpc FindTagListBySex (common.SexReq) returns (common.TagListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/list/tag",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 12、获取在线列表
+  //  rpc FindOnlineList (common.ListPage2Request) returns (common.RecommendPersonListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/list/online",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 13、七天内列表(当前会话)
+  //  rpc FindWithinSevenDayRoomList (common.ListPageRequest) returns (chat.PartnerFindRoomListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/list/chat/within",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 14、七天外列表(更早的聊天记录)
+  //  rpc FindOverSevenDayRoomList (common.ListPageRequest) returns (chat.PartnerFindRoomListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/list/chat/over",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 15、接待者查询聊天记录
+  //  rpc FindChatRecordList (common.FindChatRecordListRequest) returns (common.ChatRecordListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/chat/record",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 16、接待者查询房间信息
+  //  rpc FindChatRoomMsg (common.FindChatRoomMsgRequest) returns (common.ChatRoomMsg){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/chat/room/msg",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 17、接待员查询是否关注某人
+  //  rpc GetPartnerIsLike (common.PersonParam) returns (common.IsLike){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/islike",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 18、通过类型获取表情包列表
+  //  rpc FindMemeByType (common.MemeRequest) returns (common.MemeList){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/find/meme/type",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 19、获取对方性别的聊天话题
+  //  rpc FindChatTopic (common.FindChatTopicRequest) returns (common.ChatTopicList){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/find/topic",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 20、随机表情包
+  //  rpc RandomMeme (common.RandomNum) returns (common.CommonTextList){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/find/meme/random",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 21、随机打招呼
+  //  rpc RandomSwiftMessage (common.RandomNumAndSex) returns (common.CommonTextList){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/find/topic/random",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 22、表情包分类名
+  //  rpc FindMemeTitle (google.protobuf.Empty) returns (common.MemeTitleList){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/find/meme/title",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 24、聊天话题分类名
+  //  rpc FindChatTopicTitle (google.protobuf.Empty) returns (common.MemeTitleList){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/find/chat/title",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 25、接待员关注某人
+  //  rpc PartnerLike(common.PersonParam) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/like",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 26、接待员取关某人
+  //  rpc PartnerUnLike(common.PersonParam) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/unlike",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 27、举报某人
+  //  rpc Report (common.ReportChatRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/report",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 28、超过七天的头像列表
+  //  rpc FindOverSevenDayAvatar (google.protobuf.Empty) returns (common.FindOverSevenDayAvatarReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/over/avatar/list",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 29、更新上次访问的小纸条
+  //  rpc UpdateLastScripID (common.UpdateLastScripIDRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/scrip/last/update",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 30、创建纸条
+  //  rpc CreateScrip (CreateScripRequest) returns (common.ScripID){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/scrip/create",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 31、删除纸条
+  //  rpc DeleteScrip (common.ScripIdRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/scrip/delete",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 32、查询自己的小纸条
+  //  rpc FindMyScrip (common.ListPageRequest) returns (common.ScripReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/scrip/find/self",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 33、查询别人的小纸条
+  //  rpc FindOtherScrip (common.FindScripRequest) returns (common.ScripReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/scrip/find/other",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 34、查询随机纸条列表
+  //  rpc FindRecommendScrip (common.ListPageRequest) returns (common.ScripReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/scrip/find/recommend",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 35、用户查看纸条
+  //  rpc PersonLookScrip (common.ScripIdRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/scrip/look",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 36、用户点击回看
+  //  rpc PersonClickLookBack (google.protobuf.Empty) returns (common.ScripInfo){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/scrip/look/back",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 37、用户回复小纸条
+  //  rpc PersonReplyScrip (ReplyScripRequest) returns (common.ChatRecordInfo){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/scrip/reply",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 38、用户删除房间
+  //  rpc PartnerDeleteChat (common.RoomIDRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/chat/delete",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 39、获取用户的总未读数
+  //  rpc GetPartnerAllUnreadNum (google.protobuf.Empty) returns (chat.UnreadNumReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/chat/unread/num",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 40、接待员查询与某人的房间
+  //  rpc GetPartnerRoomByPerson (common.PersonParam) returns (chat.PartnerRoomInfo){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/room/info",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 41、查看我喜欢的列表
+  //  rpc FindLikeList (common.ListPageRequest) returns (statistics.LookAndLikeListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/list/like",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 42、查看喜欢我的列表
+  //  rpc FindLikedList (common.ListPageRequest) returns (statistics.LookAndLikeListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/list/liked",
+  //      body:"*"
+  //    };
+  //  };
+  //
+  //
+  //  //  // 拉黑某人
+  //  //  rpc PartnerSetBlackChat (common.RoomIDRequest) returns (google.protobuf.Empty){
+  //  //    option (google.api.http) = {
+  //  //      post: "/api/partner/set/black",
+  //  //      body:"*"
+  //  //    };
+  //  //  };
+  //
+  //  // ---接待员专用---
+  //  // 接待员收藏某条记录
+  //  rpc PartnerCollect (PartnerCollectIDsRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/collect",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 接待员取消收藏某条记录
+  //  rpc PartnerDeleteCollect (PartnerCollectRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/collect/delete",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 查询接待员在本房间的收藏列表
+  //  rpc FindChatCollectList (common.FindChatRecordListRequest) returns (common.ChatRecordListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/collect/list",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 获取接待员的部分信息
+  //  rpc GetPartnerMessage (google.protobuf.Empty) returns (PartnerMessage){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/message",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 获取接待员访问数详情
+  //  rpc GetPartnerLookNum (google.protobuf.Empty) returns (statistics.LookMessageReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/num/look",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 未读列表(排队中)
+  //  rpc FindUnReplyRoomList (common.ListPageRequest) returns (chat.PartnerFindRoomListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/list/chat/unreply",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 获取等级对应收益表
+  //  rpc GetLevelBalanceTable (google.protobuf.Empty) returns (LevelTable){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/level/table",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 接待员领取开通奖励
+  //  rpc PartnerGetAward (PartnerGetAwardRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/chat/award",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 接待员更新工作状态
+  //  rpc PartnerUpdateWorkingStatus (PartnerUpdateWorkingStatusRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/working/status/update",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 查询未处理的数据
+  //  rpc FindNotReplyNum (google.protobuf.Empty) returns (chat.FindNotReplyNumReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/chat/unreply/num",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 接待员申请提现
+  //  rpc PartnerApplyWithdraw (PartnerApplyWithdrawRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/withdraw",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 接待员提现模板列表
+  //  rpc PartnerWithdrawTemplateList (google.protobuf.Empty) returns (PartnerWithdrawTemplateListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/withdraw/template/list",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 接待员提现记录列表
+  //  rpc PartnerWithdrawRecordList (common.ListPageRequest) returns (PartnerWithdrawRecordListReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/withdraw/record/list",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 接待员获取房间收益以及今日收益
+  //  rpc PartnerGetRoomBalanceAndTodayBalance (common.RoomIDRequest) returns (PartnerGetRoomBalanceAndTodayBalanceReply){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/balance/room",
+  //      body:"*"
+  //    };
+  //  };
+  //  // 接待员注册
+  //  rpc PartnerRegister (common.UpdateInformationRequest) returns (google.protobuf.Empty){
+  //    option (google.api.http) = {
+  //      post: "/api/partner/register",
+  //      body:"*"
+  //    };
+  //  };
+//  // ---rpc---
+//  // 1、获取用户详情
+//  rpc GetPartnerDBMsg (common.PersonIDParam) returns (common.PersonMsg);
+//  // 2、通过接待员IDs查看接待员信息列表
+//  rpc FindPartnerDBList (common.PersonIDList) returns (common.PersonDBReply);
+//  // 3、对内更新
+//  rpc UpdateLastScripIDDB (common.UpdateLastScripIDDBRequest) returns (google.protobuf.Empty){};
+//  // 4、查询推荐用户的数据
+//  rpc FindRecommendPartnerDBList (common.FindRecommendRequest) returns (common.PersonDBReply){};
+//  // 5、更新上次登录时间
+//  rpc UpdatePartnerLastLoginTime (common.PersonIDParam) returns (google.protobuf.Empty){};
+//  // 6、通过userID查询用户
+//  rpc GetPartnerDBMsgByPartner (common.IDParam) returns (common.PersonMsg);
+//
+//  // 获取接待员金额
+//  rpc GetPartnerDBBalance (common.PartnerIDParam) returns (PartnerDBBalance){}
+//  // 增加接待员金额
+//  rpc AddPartnerBalance(AddPartnerBalanceRequest) returns (google.protobuf.Empty){};
+//  // 获取接待员的确认通过页面信息
+//  rpc GetPartnerCircleInfo (common.PartnerIDParam) returns (common.AddFriendMessageInfo);
+//  // 获取一个推荐用户
+//  rpc GetRecommendPartnerDB (GetRecommendPartnerDBRequest) returns (common.PersonDB){};
+//  // 有未接待过的新用户发来消息(包括小纸条被未接待过的新用户回复)发送模板消息
+//  rpc SendNewUserSendMessage (common.PersonIDParam) returns (google.protobuf.Empty){};
+//  // 接待过的用户发来新消息 发送模板消息
+//  rpc SendOverOneMinuteUnreadMessageMessage (SendOverOneMinuteUnreadMessageMessageRequest) returns (google.protobuf.Empty){};
 }
 
 message OnlinePersonReply{
   int64 userManNum = 1; // 男用户在线数
   int64 userWomanNum = 2; // 女用户在线数
-  int64 partnerManNum = 3; // 男接待员在线数
-  int64 partnerWomanNum = 4; // 女接待员在线数
-  int64 userOtherNum = 5; // 未填写性别的用户在线数
-  int64 partnerOtherNum = 6; // 未填写性别的接待员在线数
+  int64 userOtherNum = 3; // 未填写性别的用户在线数
 }
 
 message SendOverOneMinuteUnreadMessageMessageRequest{

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 171 - 2761
api/partner/partner_grpc.pb.go


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 111 - 2553
api/partner/partner_http.pb.go


+ 2 - 325
js/api/partner/partner_http_pb.ts

@@ -1,292 +1,9 @@
 // @ts-ignore
 import request from '@/libs/request';
-import {PartnerInfo,PartnerBalance,CreateScripRequest,ReplyScripRequest,PartnerCollectIDsRequest,PartnerCollectRequest,PartnerMessage,LevelTable,PartnerGetAwardRequest,PartnerUpdateWorkingStatusRequest,PartnerApplyWithdrawRequest,PartnerWithdrawTemplateListReply,PartnerWithdrawRecordListReply,PartnerGetRoomBalanceAndTodayBalanceReply,FindExamineListReply,ExaminePartnerRequest,FindExamineRecordListRequest,FindExamineRecordListReply,OnlinePersonReply,PartnerDBBalance,AddPartnerBalanceRequest,GetRecommendPartnerDBRequest,SendOverOneMinuteUnreadMessageMessageRequest} from "./partner_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,ReportChatRequest,FindOverSevenDayAvatarReply,UpdateLastScripIDRequest,ScripID,ScripIdRequest,ScripReply,FindScripRequest,ScripInfo,ChatRecordInfo,RoomIDRequest,ManagerLoginRequest,LoginToken,ManagerFindRoomListRequest,ManagerFindRoomListReply,ManagerFindChatRecordListRequest,ManagerFindPersonListRequest,ManagerFindPersonListReply,ManagerUpdatePersonVoiceRequest,ManagerUpdatePersonPicturesRequest,ManagerUpdatePersonSignatureRequest,ManagerUpdatePersonAvatarRequest,ManagerUpdatePersonNameRequest,ManagerUpdatePersonWeightRequest,ManagerUpdatePersonIsBlackRequest,ManagerFindScripListRequest,ManagerScripReply,ManagerUpdateScripTextRequest,ManagerUpdateScripPictureRequest,IDParam,ManagerFindReportListRequest,ManagerFindReportListReply,ManagerFindReportDetailsListRequest,ManagerFindReportDetailsListReply,PersonIDParam,PersonMsg,PersonIDList,PersonDBReply,UpdateLastScripIDDBRequest,FindRecommendRequest,PartnerIDParam,AddFriendMessageInfo,PersonDB} from "../common/common_pb";
-import {RoomReply,PartnerFindRoomListReply,UnreadNumReply,PartnerRoomInfo,FindNotReplyNumReply} from "../chat/chat_pb";
-import {LookAndLikeListReply,LookMessageReply} from "../statistics/statistics_pb";
+import {ListPage2Request,ManagerLoginRequest,LoginToken,ManagerFindRoomListRequest,ManagerFindRoomListReply,ManagerFindChatRecordListRequest,ChatRecordListReply,ManagerFindScripListRequest,ManagerScripReply,ManagerUpdateScripTextRequest,ManagerUpdateScripPictureRequest,IDParam,ManagerFindReportListRequest,ManagerFindReportListReply,ManagerFindReportDetailsListRequest,ManagerFindReportDetailsListReply} from "../common/common_pb";
+import {FindExamineListReply,ExaminePartnerRequest,FindExamineRecordListRequest,FindExamineRecordListReply,OnlinePersonReply} from "./partner_pb";
 
 const PartnerService = {
-  /**  1、获取接待员的个人信息 */
-  GetPartnerInfo: async (req?: undefined) => {
-	const res = await request.post<{ data: PartnerInfo, code: string, message: string }>('/api/partner/info', req);
-    return res.data.data;
-  },
-  /**  2、接待员发送验证码 */
-  SendPhoneCode: async (req?: SendPhoneCodeRequest) => {
-	const res = await request.post('/api/partner/code/send', req);
-    return res.data.data;
-  },
-  /**  3、接待员验证验证码 */
-  CheckPhoneCode: async (req?: CheckPhoneCodeRequest) => {
-	const res = await request.post('/api/partner/code/check', req);
-    return res.data.data;
-  },
-  /**  4、更新接待员的信息 */
-  UpdatePartnerInformation: async (req?: UpdateInformationRequest) => {
-	const res = await request.post('/api/partner/update/information', req);
-    return res.data.data;
-  },
-  /**  5、创建用户与接待员的关联 */
-  CreateUserPartnerRoom: async (req?: CreateChatRoomParam) => {
-	const res = await request.post<{ data: RoomReply, code: string, message: string }>('/api/partner/create/room', req);
-    return res.data.data;
-  },
-  /**  6、获取接待员的金额信息 */
-  GetPartnerBalance: async (req?: undefined) => {
-	const res = await request.post<{ data: PartnerBalance, code: string, message: string }>('/api/partner/balance', req);
-    return res.data.data;
-  },
-  /**  7、接待员获取ta的主页信息 */
-  PartnerGetHomeInfo: async (req?: PersonParam) => {
-	const res = await request.post<{ data: HomeInfo, code: string, message: string }>('/api/partner/home', req);
-    return res.data.data;
-  },
-  /**  8、接待员获取ta的主页访客、关注数 */
-  PartnerGetPersonLikedAndLooked: async (req?: PersonParam) => {
-	const res = await request.post<{ data: LookedAndLikedNum, code: string, message: string }>('/api/partner/num', req);
-    return res.data.data;
-  },
-  /**  9、查看看过我的列表 */
-  FindLookList: async (req?: ListPageRequest) => {
-	const res = await request.post<{ data: LookAndLikeListReply, code: string, message: string }>('/api/partner/list/look', req);
-    return res.data.data;
-  },
-  /**  10、微信SDK初始化 */
-  WxConf: async (req?: WxConfReq) => {
-	const res = await request.post<{ data: WxConfResponse, code: string, message: string }>('/api/wx/jssdk/config', req);
-    return res.data.data;
-  },
-  /**  11、获取标签列表 */
-  FindTagListBySex: async (req?: SexReq) => {
-	const res = await request.post<{ data: TagListReply, code: string, message: string }>('/api/partner/list/tag', req);
-    return res.data.data;
-  },
-  /**  12、获取在线列表 */
-  FindOnlineList: async (req?: ListPage2Request) => {
-	const res = await request.post<{ data: RecommendPersonListReply, code: string, message: string }>('/api/partner/list/online', req);
-    return res.data.data;
-  },
-  /**  13、七天内列表(当前会话) */
-  FindWithinSevenDayRoomList: async (req?: ListPageRequest) => {
-	const res = await request.post<{ data: PartnerFindRoomListReply, code: string, message: string }>('/api/partner/list/chat/within', req);
-    return res.data.data;
-  },
-  /**  14、七天外列表(更早的聊天记录) */
-  FindOverSevenDayRoomList: async (req?: ListPageRequest) => {
-	const res = await request.post<{ data: PartnerFindRoomListReply, code: string, message: string }>('/api/partner/list/chat/over', req);
-    return res.data.data;
-  },
-  /**  15、接待者查询聊天记录 */
-  FindChatRecordList: async (req?: FindChatRecordListRequest) => {
-	const res = await request.post<{ data: ChatRecordListReply, code: string, message: string }>('/api/partner/chat/record', req);
-    return res.data.data;
-  },
-  /**  16、接待者查询房间信息 */
-  FindChatRoomMsg: async (req?: FindChatRoomMsgRequest) => {
-	const res = await request.post<{ data: ChatRoomMsg, code: string, message: string }>('/api/partner/chat/room/msg', req);
-    return res.data.data;
-  },
-  /**  17、接待员查询是否关注某人 */
-  GetPartnerIsLike: async (req?: PersonParam) => {
-	const res = await request.post<{ data: IsLike, code: string, message: string }>('/api/partner/islike', req);
-    return res.data.data;
-  },
-  /**  18、通过类型获取表情包列表 */
-  FindMemeByType: async (req?: MemeRequest) => {
-	const res = await request.post<{ data: MemeList, code: string, message: string }>('/api/partner/find/meme/type', req);
-    return res.data.data;
-  },
-  /**  19、获取对方性别的聊天话题 */
-  FindChatTopic: async (req?: FindChatTopicRequest) => {
-	const res = await request.post<{ data: ChatTopicList, code: string, message: string }>('/api/partner/find/topic', req);
-    return res.data.data;
-  },
-  /**  20、随机表情包 */
-  RandomMeme: async (req?: RandomNum) => {
-	const res = await request.post<{ data: CommonTextList, code: string, message: string }>('/api/partner/find/meme/random', req);
-    return res.data.data;
-  },
-  /**  21、随机打招呼 */
-  RandomSwiftMessage: async (req?: RandomNumAndSex) => {
-	const res = await request.post<{ data: CommonTextList, code: string, message: string }>('/api/partner/find/topic/random', req);
-    return res.data.data;
-  },
-  /**  22、表情包分类名 */
-  FindMemeTitle: async (req?: undefined) => {
-	const res = await request.post<{ data: MemeTitleList, code: string, message: string }>('/api/partner/find/meme/title', req);
-    return res.data.data;
-  },
-  /**  24、聊天话题分类名 */
-  FindChatTopicTitle: async (req?: undefined) => {
-	const res = await request.post<{ data: MemeTitleList, code: string, message: string }>('/api/partner/find/chat/title', req);
-    return res.data.data;
-  },
-  /**  25、接待员关注某人 */
-  PartnerLike: async (req?: PersonParam) => {
-	const res = await request.post('/api/partner/like', req);
-    return res.data.data;
-  },
-  /**  26、接待员取关某人 */
-  PartnerUnLike: async (req?: PersonParam) => {
-	const res = await request.post('/api/partner/unlike', req);
-    return res.data.data;
-  },
-  /**  27、举报某人 */
-  Report: async (req?: ReportChatRequest) => {
-	const res = await request.post('/api/partner/report', req);
-    return res.data.data;
-  },
-  /**  28、超过七天的头像列表 */
-  FindOverSevenDayAvatar: async (req?: undefined) => {
-	const res = await request.post<{ data: FindOverSevenDayAvatarReply, code: string, message: string }>('/api/partner/over/avatar/list', req);
-    return res.data.data;
-  },
-  /**  29、更新上次访问的小纸条 */
-  UpdateLastScripID: async (req?: UpdateLastScripIDRequest) => {
-	const res = await request.post('/api/partner/scrip/last/update', req);
-    return res.data.data;
-  },
-  /**  30、创建纸条 */
-  CreateScrip: async (req?: CreateScripRequest) => {
-	const res = await request.post<{ data: ScripID, code: string, message: string }>('/api/partner/scrip/create', req);
-    return res.data.data;
-  },
-  /**  31、删除纸条 */
-  DeleteScrip: async (req?: ScripIdRequest) => {
-	const res = await request.post('/api/partner/scrip/delete', req);
-    return res.data.data;
-  },
-  /**  32、查询自己的小纸条 */
-  FindMyScrip: async (req?: ListPageRequest) => {
-	const res = await request.post<{ data: ScripReply, code: string, message: string }>('/api/partner/scrip/find/self', req);
-    return res.data.data;
-  },
-  /**  33、查询别人的小纸条 */
-  FindOtherScrip: async (req?: FindScripRequest) => {
-	const res = await request.post<{ data: ScripReply, code: string, message: string }>('/api/partner/scrip/find/other', req);
-    return res.data.data;
-  },
-  /**  34、查询随机纸条列表 */
-  FindRecommendScrip: async (req?: ListPageRequest) => {
-	const res = await request.post<{ data: ScripReply, code: string, message: string }>('/api/partner/scrip/find/recommend', req);
-    return res.data.data;
-  },
-  /**  35、用户查看纸条 */
-  PersonLookScrip: async (req?: ScripIdRequest) => {
-	const res = await request.post('/api/partner/scrip/look', req);
-    return res.data.data;
-  },
-  /**  36、用户点击回看 */
-  PersonClickLookBack: async (req?: undefined) => {
-	const res = await request.post<{ data: ScripInfo, code: string, message: string }>('/api/partner/scrip/look/back', req);
-    return res.data.data;
-  },
-  /**  37、用户回复小纸条 */
-  PersonReplyScrip: async (req?: ReplyScripRequest) => {
-	const res = await request.post<{ data: ChatRecordInfo, code: string, message: string }>('/api/partner/scrip/reply', req);
-    return res.data.data;
-  },
-  /**  38、用户删除房间 */
-  PartnerDeleteChat: async (req?: RoomIDRequest) => {
-	const res = await request.post('/api/partner/chat/delete', req);
-    return res.data.data;
-  },
-  /**  39、获取用户的总未读数 */
-  GetPartnerAllUnreadNum: async (req?: undefined) => {
-	const res = await request.post<{ data: UnreadNumReply, code: string, message: string }>('/api/partner/chat/unread/num', req);
-    return res.data.data;
-  },
-  /**  40、接待员查询与某人的房间 */
-  GetPartnerRoomByPerson: async (req?: PersonParam) => {
-	const res = await request.post<{ data: PartnerRoomInfo, code: string, message: string }>('/api/partner/room/info', req);
-    return res.data.data;
-  },
-  /**  41、查看我喜欢的列表 */
-  FindLikeList: async (req?: ListPageRequest) => {
-	const res = await request.post<{ data: LookAndLikeListReply, code: string, message: string }>('/api/partner/list/like', req);
-    return res.data.data;
-  },
-  /**  42、查看喜欢我的列表 */
-  FindLikedList: async (req?: ListPageRequest) => {
-	const res = await request.post<{ data: LookAndLikeListReply, code: string, message: string }>('/api/partner/list/liked', req);
-    return res.data.data;
-  },
-  /**  ---接待员专用---
-// 接待员收藏某条记录 */
-  PartnerCollect: async (req?: PartnerCollectIDsRequest) => {
-	const res = await request.post('/api/partner/collect', req);
-    return res.data.data;
-  },
-  /**  接待员取消收藏某条记录 */
-  PartnerDeleteCollect: async (req?: PartnerCollectRequest) => {
-	const res = await request.post('/api/partner/collect/delete', req);
-    return res.data.data;
-  },
-  /**  查询接待员在本房间的收藏列表 */
-  FindChatCollectList: async (req?: FindChatRecordListRequest) => {
-	const res = await request.post<{ data: ChatRecordListReply, code: string, message: string }>('/api/partner/collect/list', req);
-    return res.data.data;
-  },
-  /**  获取接待员的部分信息 */
-  GetPartnerMessage: async (req?: undefined) => {
-	const res = await request.post<{ data: PartnerMessage, code: string, message: string }>('/api/partner/message', req);
-    return res.data.data;
-  },
-  /**  获取接待员访问数详情 */
-  GetPartnerLookNum: async (req?: undefined) => {
-	const res = await request.post<{ data: LookMessageReply, code: string, message: string }>('/api/partner/num/look', req);
-    return res.data.data;
-  },
-  /**  未读列表(排队中) */
-  FindUnReplyRoomList: async (req?: ListPageRequest) => {
-	const res = await request.post<{ data: PartnerFindRoomListReply, code: string, message: string }>('/api/partner/list/chat/unreply', req);
-    return res.data.data;
-  },
-  /**  获取等级对应收益表 */
-  GetLevelBalanceTable: async (req?: undefined) => {
-	const res = await request.post<{ data: LevelTable, code: string, message: string }>('/api/partner/level/table', req);
-    return res.data.data;
-  },
-  /**  接待员领取开通奖励 */
-  PartnerGetAward: async (req?: PartnerGetAwardRequest) => {
-	const res = await request.post('/api/partner/chat/award', req);
-    return res.data.data;
-  },
-  /**  接待员更新工作状态 */
-  PartnerUpdateWorkingStatus: async (req?: PartnerUpdateWorkingStatusRequest) => {
-	const res = await request.post('/api/partner/working/status/update', req);
-    return res.data.data;
-  },
-  /**  查询未处理的数据 */
-  FindNotReplyNum: async (req?: undefined) => {
-	const res = await request.post<{ data: FindNotReplyNumReply, code: string, message: string }>('/api/partner/chat/unreply/num', req);
-    return res.data.data;
-  },
-  /**  接待员申请提现 */
-  PartnerApplyWithdraw: async (req?: PartnerApplyWithdrawRequest) => {
-	const res = await request.post('/api/partner/withdraw', req);
-    return res.data.data;
-  },
-  /**  接待员提现模板列表 */
-  PartnerWithdrawTemplateList: async (req?: undefined) => {
-	const res = await request.post<{ data: PartnerWithdrawTemplateListReply, code: string, message: string }>('/api/partner/withdraw/template/list', req);
-    return res.data.data;
-  },
-  /**  接待员提现记录列表 */
-  PartnerWithdrawRecordList: async (req?: ListPageRequest) => {
-	const res = await request.post<{ data: PartnerWithdrawRecordListReply, code: string, message: string }>('/api/partner/withdraw/record/list', req);
-    return res.data.data;
-  },
-  /**  接待员获取房间收益以及今日收益 */
-  PartnerGetRoomBalanceAndTodayBalance: async (req?: RoomIDRequest) => {
-	const res = await request.post<{ data: PartnerGetRoomBalanceAndTodayBalanceReply, code: string, message: string }>('/api/partner/balance/room', req);
-    return res.data.data;
-  },
-  /**  接待员注册 */
-  PartnerRegister: async (req?: UpdateInformationRequest) => {
-	const res = await request.post('/api/partner/register', req);
-    return res.data.data;
-  },
   /**  ---manager---
 // 接待员审核列表 */
   FindExamineList: async (req?: ListPage2Request) => {
@@ -323,46 +40,6 @@ const PartnerService = {
 	const res = await request.post<{ data: ChatRecordListReply, code: string, message: string }>('/api/manager/chat/list', req);
     return res.data.data;
   },
-  /**  管理员查询接待员列表 */
-  ManagerFindPartnerList: async (req?: ManagerFindPersonListRequest) => {
-	const res = await request.post<{ data: ManagerFindPersonListReply, code: string, message: string }>('/api/manager/partner/list', req);
-    return res.data.data;
-  },
-  /**  管理员更新接待员语音 */
-  ManagerUpdatePartnerVoice: async (req?: ManagerUpdatePersonVoiceRequest) => {
-	const res = await request.post('/api/manager/partner/Voice/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新接待员相册 */
-  ManagerUpdatePartnerPictures: async (req?: ManagerUpdatePersonPicturesRequest) => {
-	const res = await request.post('/api/manager/partner/pictures/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新接待员签名 */
-  ManagerUpdatePartnerSignature: async (req?: ManagerUpdatePersonSignatureRequest) => {
-	const res = await request.post('/api/manager/partner/signature/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新接待员头像 */
-  ManagerUpdatePartnerAvatar: async (req?: ManagerUpdatePersonAvatarRequest) => {
-	const res = await request.post('/api/manager/partner/avatar/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新接待员昵称 */
-  ManagerUpdatePartnerName: async (req?: ManagerUpdatePersonNameRequest) => {
-	const res = await request.post('/api/manager/partner/name/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新接待员权重 */
-  ManagerUpdatePartnerWeight: async (req?: ManagerUpdatePersonWeightRequest) => {
-	const res = await request.post('/api/manager/partner/weight/update', req);
-    return res.data.data;
-  },
-  /**  管理员更新接待员是否拉黑 */
-  ManagerUpdatePartnerIsBlack: async (req?: ManagerUpdatePersonIsBlackRequest) => {
-	const res = await request.post('/api/manager/partner/black/update', req);
-    return res.data.data;
-  },
   /**  管理员查询纸条列表 */
   ManagerFindScripList: async (req?: ManagerFindScripListRequest) => {
 	const res = await request.post<{ data: ManagerScripReply, code: string, message: string }>('/api/manager/scrip/list', req);

+ 0 - 6
js/api/partner/partner_pb.ts

@@ -5,14 +5,8 @@ export interface OnlinePersonReply{
     userManNum?:number;
     /**  女用户在线数 */
     userWomanNum?:number;
-    /**  男接待员在线数 */
-    partnerManNum?:number;
-    /**  女接待员在线数 */
-    partnerWomanNum?:number;
     /**  未填写性别的用户在线数 */
     userOtherNum?:number;
-    /**  未填写性别的接待员在线数 */
-    partnerOtherNum?:number;
 }
 export interface SendOverOneMinuteUnreadMessageMessageRequest{
     personID?:string;

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio