wfz 3 rokov pred
rodič
commit
ae1dedd48f

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 250 - 538
api/account/account.pb.go


+ 4 - 54
api/account/account.proto

@@ -45,19 +45,14 @@ service Account {
       body:"*"
     };
   };
-
-  rpc RandomNickname (common.SexReq) returns (RandomNicknameReply){
-    option (google.api.http) = {
-      post: "/api/common/random/nickname",
-      body:"*"
-    };
-  };
-  rpc RandomAvatar (common.SexReq) returns (RandomAvatarReply){
+  // 通过微信下载语音并上传到七牛
+  rpc UploadMaterialVoice (MediaID) returns (MaterialLink){
     option (google.api.http) = {
-      post: "/api/common/random/avatar",
+      post: "/api/common/material/upload/voice",
       body:"*"
     };
   };
+
   // 统计订阅消息
   rpc StatisticsSubscribeMessage (StatisticsSubscribeMessageRequest) returns (google.protobuf.Empty){
     option (google.api.http) = {
@@ -65,41 +60,8 @@ service Account {
       body:"*"
     };
   };
-  // 随机介绍接口
-  rpc RandomIntroduce (common.SexReq) returns (common.RandomIntroduceReply){
-    option (google.api.http) = {
-      post: "/api/common/random/introduce",
-      body:"*"
-    };
-  };
-  // 通过微信下载语音并上传到七牛
-  rpc UploadMaterialVoice (MediaID) returns (MaterialLink){
-    option (google.api.http) = {
-      post: "/api/common/material/upload/voice",
-      body:"*"
-    };
-  };
-  // 减少订阅消息
-  rpc ReduceSubscribeMessage (ReduceSubscribeMessageRequest) returns (google.protobuf.Empty){};
-  // 获取订阅了签到的人
-  rpc GetSignUser (google.protobuf.Empty) returns (common.PersonIDList){};
-  // 随机头像列表
-  rpc RandomAvatarList (common.SexReq) returns (RandomAvatarListReply){};
-  // 通过分组名和性别查询标签
-  rpc FindTagListBySex (common.SexReq) returns (common.TagListReply);
-  // 通过标签IDs查询标签
-  rpc FindTagsByIDs (common.Ids) returns (common.TagListReply);
-  // 通过类型获取表情包列表
-  rpc FindMemeByType (common.MemeRequest) returns (common.MemeList){};
-  // 获取对方性别的聊天话题
-  rpc FindChatTopic (common.FindChatTopicRequest) returns (common.ChatTopicList){};
-  // 随机表情包
-  rpc RandomMeme (common.RandomNum) returns (common.CommonTextList){};
-  // 随机打招呼
-  rpc RandomSwiftMessage (common.RandomNumAndSex) returns (common.CommonTextList){};
   // 检查文本-百度云
   rpc CheckText (CheckTextRequest) returns (CheckTextReply){}
-
   // 通过openID和appID查询
   rpc GetIdentityByOpenIDAndAppID (OpenIDAndAppIDRequest) returns (IdentityInfo);
   // 通过openID和appID查询 未查到就创建
@@ -187,18 +149,6 @@ message MaterialLink {
   string link = 1;
 }
 
-message RandomNicknameReply{
-  string nickname = 1;
-}
-
-message RandomAvatarReply{
-  string avatarUrl = 1;
-}
-
-message RandomAvatarListReply{
-  repeated string list = 1;
-}
-
 message OpenIDAndAppIDRequest{
   string openId = 1;
   string appId = 2;

+ 15 - 467
api/account/account_grpc.pb.go

@@ -27,32 +27,10 @@ type AccountClient interface {
 	GetUserLoginConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.GetLoginConfigReply, error)
 	// 获取公众号配置
 	GetGetGzhConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetGetGzhConfigReply, error)
-	RandomNickname(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomNicknameReply, error)
-	RandomAvatar(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarReply, error)
-	// 统计订阅消息
-	StatisticsSubscribeMessage(ctx context.Context, in *StatisticsSubscribeMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
-	// 随机介绍接口
-	RandomIntroduce(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.RandomIntroduceReply, error)
 	// 通过微信下载语音并上传到七牛
 	UploadMaterialVoice(ctx context.Context, in *MediaID, opts ...grpc.CallOption) (*MaterialLink, error)
-	// 减少订阅消息
-	ReduceSubscribeMessage(ctx context.Context, in *ReduceSubscribeMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
-	// 获取订阅了签到的人
-	GetSignUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.PersonIDList, error)
-	// 随机头像列表
-	RandomAvatarList(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarListReply, error)
-	// 通过分组名和性别查询标签
-	FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error)
-	// 通过标签IDs查询标签
-	FindTagsByIDs(ctx context.Context, in *common.Ids, opts ...grpc.CallOption) (*common.TagListReply, error)
-	// 通过类型获取表情包列表
-	FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error)
-	// 获取对方性别的聊天话题
-	FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error)
-	// 随机表情包
-	RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error)
-	// 随机打招呼
-	RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error)
+	// 统计订阅消息
+	StatisticsSubscribeMessage(ctx context.Context, in *StatisticsSubscribeMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	// 检查文本-百度云
 	CheckText(ctx context.Context, in *CheckTextRequest, opts ...grpc.CallOption) (*CheckTextReply, error)
 	// 通过openID和appID查询
@@ -126,42 +104,6 @@ func (c *accountClient) GetGetGzhConfig(ctx context.Context, in *emptypb.Empty,
 	return out, nil
 }
 
-func (c *accountClient) RandomNickname(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomNicknameReply, error) {
-	out := new(RandomNicknameReply)
-	err := c.cc.Invoke(ctx, "/api.account.Account/RandomNickname", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *accountClient) RandomAvatar(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarReply, error) {
-	out := new(RandomAvatarReply)
-	err := c.cc.Invoke(ctx, "/api.account.Account/RandomAvatar", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *accountClient) StatisticsSubscribeMessage(ctx context.Context, in *StatisticsSubscribeMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
-	out := new(emptypb.Empty)
-	err := c.cc.Invoke(ctx, "/api.account.Account/StatisticsSubscribeMessage", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *accountClient) RandomIntroduce(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.RandomIntroduceReply, error) {
-	out := new(common.RandomIntroduceReply)
-	err := c.cc.Invoke(ctx, "/api.account.Account/RandomIntroduce", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
 func (c *accountClient) UploadMaterialVoice(ctx context.Context, in *MediaID, opts ...grpc.CallOption) (*MaterialLink, error) {
 	out := new(MaterialLink)
 	err := c.cc.Invoke(ctx, "/api.account.Account/UploadMaterialVoice", in, out, opts...)
@@ -171,81 +113,9 @@ func (c *accountClient) UploadMaterialVoice(ctx context.Context, in *MediaID, op
 	return out, nil
 }
 
-func (c *accountClient) ReduceSubscribeMessage(ctx context.Context, in *ReduceSubscribeMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+func (c *accountClient) StatisticsSubscribeMessage(ctx context.Context, in *StatisticsSubscribeMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
 	out := new(emptypb.Empty)
-	err := c.cc.Invoke(ctx, "/api.account.Account/ReduceSubscribeMessage", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *accountClient) GetSignUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.PersonIDList, error) {
-	out := new(common.PersonIDList)
-	err := c.cc.Invoke(ctx, "/api.account.Account/GetSignUser", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *accountClient) RandomAvatarList(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarListReply, error) {
-	out := new(RandomAvatarListReply)
-	err := c.cc.Invoke(ctx, "/api.account.Account/RandomAvatarList", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *accountClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) {
-	out := new(common.TagListReply)
-	err := c.cc.Invoke(ctx, "/api.account.Account/FindTagListBySex", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *accountClient) FindTagsByIDs(ctx context.Context, in *common.Ids, opts ...grpc.CallOption) (*common.TagListReply, error) {
-	out := new(common.TagListReply)
-	err := c.cc.Invoke(ctx, "/api.account.Account/FindTagsByIDs", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *accountClient) FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error) {
-	out := new(common.MemeList)
-	err := c.cc.Invoke(ctx, "/api.account.Account/FindMemeByType", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *accountClient) FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error) {
-	out := new(common.ChatTopicList)
-	err := c.cc.Invoke(ctx, "/api.account.Account/FindChatTopic", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *accountClient) RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error) {
-	out := new(common.CommonTextList)
-	err := c.cc.Invoke(ctx, "/api.account.Account/RandomMeme", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *accountClient) RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error) {
-	out := new(common.CommonTextList)
-	err := c.cc.Invoke(ctx, "/api.account.Account/RandomSwiftMessage", in, out, opts...)
+	err := c.cc.Invoke(ctx, "/api.account.Account/StatisticsSubscribeMessage", in, out, opts...)
 	if err != nil {
 		return nil, err
 	}
@@ -344,32 +214,10 @@ type AccountServer interface {
 	GetUserLoginConfig(context.Context, *emptypb.Empty) (*common.GetLoginConfigReply, error)
 	// 获取公众号配置
 	GetGetGzhConfig(context.Context, *emptypb.Empty) (*GetGetGzhConfigReply, error)
-	RandomNickname(context.Context, *common.SexReq) (*RandomNicknameReply, error)
-	RandomAvatar(context.Context, *common.SexReq) (*RandomAvatarReply, error)
-	// 统计订阅消息
-	StatisticsSubscribeMessage(context.Context, *StatisticsSubscribeMessageRequest) (*emptypb.Empty, error)
-	// 随机介绍接口
-	RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error)
 	// 通过微信下载语音并上传到七牛
 	UploadMaterialVoice(context.Context, *MediaID) (*MaterialLink, error)
-	// 减少订阅消息
-	ReduceSubscribeMessage(context.Context, *ReduceSubscribeMessageRequest) (*emptypb.Empty, error)
-	// 获取订阅了签到的人
-	GetSignUser(context.Context, *emptypb.Empty) (*common.PersonIDList, error)
-	// 随机头像列表
-	RandomAvatarList(context.Context, *common.SexReq) (*RandomAvatarListReply, error)
-	// 通过分组名和性别查询标签
-	FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
-	// 通过标签IDs查询标签
-	FindTagsByIDs(context.Context, *common.Ids) (*common.TagListReply, error)
-	// 通过类型获取表情包列表
-	FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
-	// 获取对方性别的聊天话题
-	FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error)
-	// 随机表情包
-	RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error)
-	// 随机打招呼
-	RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error)
+	// 统计订阅消息
+	StatisticsSubscribeMessage(context.Context, *StatisticsSubscribeMessageRequest) (*emptypb.Empty, error)
 	// 检查文本-百度云
 	CheckText(context.Context, *CheckTextRequest) (*CheckTextReply, error)
 	// 通过openID和appID查询
@@ -410,47 +258,11 @@ func (UnimplementedAccountServer) GetUserLoginConfig(context.Context, *emptypb.E
 func (UnimplementedAccountServer) GetGetGzhConfig(context.Context, *emptypb.Empty) (*GetGetGzhConfigReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method GetGetGzhConfig not implemented")
 }
-func (UnimplementedAccountServer) RandomNickname(context.Context, *common.SexReq) (*RandomNicknameReply, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method RandomNickname not implemented")
-}
-func (UnimplementedAccountServer) RandomAvatar(context.Context, *common.SexReq) (*RandomAvatarReply, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method RandomAvatar not implemented")
-}
-func (UnimplementedAccountServer) StatisticsSubscribeMessage(context.Context, *StatisticsSubscribeMessageRequest) (*emptypb.Empty, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method StatisticsSubscribeMessage not implemented")
-}
-func (UnimplementedAccountServer) RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method RandomIntroduce not implemented")
-}
 func (UnimplementedAccountServer) UploadMaterialVoice(context.Context, *MediaID) (*MaterialLink, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method UploadMaterialVoice not implemented")
 }
-func (UnimplementedAccountServer) ReduceSubscribeMessage(context.Context, *ReduceSubscribeMessageRequest) (*emptypb.Empty, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method ReduceSubscribeMessage not implemented")
-}
-func (UnimplementedAccountServer) GetSignUser(context.Context, *emptypb.Empty) (*common.PersonIDList, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method GetSignUser not implemented")
-}
-func (UnimplementedAccountServer) RandomAvatarList(context.Context, *common.SexReq) (*RandomAvatarListReply, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method RandomAvatarList not implemented")
-}
-func (UnimplementedAccountServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented")
-}
-func (UnimplementedAccountServer) FindTagsByIDs(context.Context, *common.Ids) (*common.TagListReply, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method FindTagsByIDs not implemented")
-}
-func (UnimplementedAccountServer) FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method FindMemeByType not implemented")
-}
-func (UnimplementedAccountServer) FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method FindChatTopic not implemented")
-}
-func (UnimplementedAccountServer) RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method RandomMeme not implemented")
-}
-func (UnimplementedAccountServer) RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method RandomSwiftMessage not implemented")
+func (UnimplementedAccountServer) StatisticsSubscribeMessage(context.Context, *StatisticsSubscribeMessageRequest) (*emptypb.Empty, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method StatisticsSubscribeMessage not implemented")
 }
 func (UnimplementedAccountServer) CheckText(context.Context, *CheckTextRequest) (*CheckTextReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method CheckText not implemented")
@@ -582,78 +394,6 @@ func _Account_GetGetGzhConfig_Handler(srv interface{}, ctx context.Context, dec
 	return interceptor(ctx, in, info, handler)
 }
 
-func _Account_RandomNickname_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.SexReq)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).RandomNickname(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/RandomNickname",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).RandomNickname(ctx, req.(*common.SexReq))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Account_RandomAvatar_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.SexReq)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).RandomAvatar(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/RandomAvatar",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).RandomAvatar(ctx, req.(*common.SexReq))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Account_StatisticsSubscribeMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(StatisticsSubscribeMessageRequest)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).StatisticsSubscribeMessage(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/StatisticsSubscribeMessage",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).StatisticsSubscribeMessage(ctx, req.(*StatisticsSubscribeMessageRequest))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Account_RandomIntroduce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.SexReq)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).RandomIntroduce(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/RandomIntroduce",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).RandomIntroduce(ctx, req.(*common.SexReq))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
 func _Account_UploadMaterialVoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(MediaID)
 	if err := dec(in); err != nil {
@@ -672,164 +412,20 @@ func _Account_UploadMaterialVoice_Handler(srv interface{}, ctx context.Context,
 	return interceptor(ctx, in, info, handler)
 }
 
-func _Account_ReduceSubscribeMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(ReduceSubscribeMessageRequest)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).ReduceSubscribeMessage(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/ReduceSubscribeMessage",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).ReduceSubscribeMessage(ctx, req.(*ReduceSubscribeMessageRequest))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Account_GetSignUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(emptypb.Empty)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).GetSignUser(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/GetSignUser",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).GetSignUser(ctx, req.(*emptypb.Empty))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Account_RandomAvatarList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.SexReq)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).RandomAvatarList(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/RandomAvatarList",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).RandomAvatarList(ctx, req.(*common.SexReq))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Account_FindTagListBySex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.SexReq)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).FindTagListBySex(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/FindTagListBySex",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).FindTagListBySex(ctx, req.(*common.SexReq))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Account_FindTagsByIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.Ids)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).FindTagsByIDs(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/FindTagsByIDs",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).FindTagsByIDs(ctx, req.(*common.Ids))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Account_FindMemeByType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.MemeRequest)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).FindMemeByType(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/FindMemeByType",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).FindMemeByType(ctx, req.(*common.MemeRequest))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Account_FindChatTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.FindChatTopicRequest)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).FindChatTopic(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/FindChatTopic",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).FindChatTopic(ctx, req.(*common.FindChatTopicRequest))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Account_RandomMeme_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.RandomNum)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(AccountServer).RandomMeme(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.account.Account/RandomMeme",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).RandomMeme(ctx, req.(*common.RandomNum))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Account_RandomSwiftMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.RandomNumAndSex)
+func _Account_StatisticsSubscribeMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(StatisticsSubscribeMessageRequest)
 	if err := dec(in); err != nil {
 		return nil, err
 	}
 	if interceptor == nil {
-		return srv.(AccountServer).RandomSwiftMessage(ctx, in)
+		return srv.(AccountServer).StatisticsSubscribeMessage(ctx, in)
 	}
 	info := &grpc.UnaryServerInfo{
 		Server:     srv,
-		FullMethod: "/api.account.Account/RandomSwiftMessage",
+		FullMethod: "/api.account.Account/StatisticsSubscribeMessage",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).RandomSwiftMessage(ctx, req.(*common.RandomNumAndSex))
+		return srv.(AccountServer).StatisticsSubscribeMessage(ctx, req.(*StatisticsSubscribeMessageRequest))
 	}
 	return interceptor(ctx, in, info, handler)
 }
@@ -1023,61 +619,13 @@ var Account_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "GetGetGzhConfig",
 			Handler:    _Account_GetGetGzhConfig_Handler,
 		},
-		{
-			MethodName: "RandomNickname",
-			Handler:    _Account_RandomNickname_Handler,
-		},
-		{
-			MethodName: "RandomAvatar",
-			Handler:    _Account_RandomAvatar_Handler,
-		},
-		{
-			MethodName: "StatisticsSubscribeMessage",
-			Handler:    _Account_StatisticsSubscribeMessage_Handler,
-		},
-		{
-			MethodName: "RandomIntroduce",
-			Handler:    _Account_RandomIntroduce_Handler,
-		},
 		{
 			MethodName: "UploadMaterialVoice",
 			Handler:    _Account_UploadMaterialVoice_Handler,
 		},
 		{
-			MethodName: "ReduceSubscribeMessage",
-			Handler:    _Account_ReduceSubscribeMessage_Handler,
-		},
-		{
-			MethodName: "GetSignUser",
-			Handler:    _Account_GetSignUser_Handler,
-		},
-		{
-			MethodName: "RandomAvatarList",
-			Handler:    _Account_RandomAvatarList_Handler,
-		},
-		{
-			MethodName: "FindTagListBySex",
-			Handler:    _Account_FindTagListBySex_Handler,
-		},
-		{
-			MethodName: "FindTagsByIDs",
-			Handler:    _Account_FindTagsByIDs_Handler,
-		},
-		{
-			MethodName: "FindMemeByType",
-			Handler:    _Account_FindMemeByType_Handler,
-		},
-		{
-			MethodName: "FindChatTopic",
-			Handler:    _Account_FindChatTopic_Handler,
-		},
-		{
-			MethodName: "RandomMeme",
-			Handler:    _Account_RandomMeme_Handler,
-		},
-		{
-			MethodName: "RandomSwiftMessage",
-			Handler:    _Account_RandomSwiftMessage_Handler,
+			MethodName: "StatisticsSubscribeMessage",
+			Handler:    _Account_StatisticsSubscribeMessage_Handler,
 		},
 		{
 			MethodName: "CheckText",

+ 5 - 134
api/account/account_http.pb.go

@@ -33,9 +33,6 @@ type AccountHTTPServer interface {
 	DebugLogin(context.Context, *DebugLoginRequest) (*TokenReply, error)
 	GetGetGzhConfig(context.Context, *emptypb.Empty) (*GetGetGzhConfigReply, error)
 	GetUserLoginConfig(context.Context, *emptypb.Empty) (*common.GetLoginConfigReply, error)
-	RandomAvatar(context.Context, *common.SexReq) (*RandomAvatarReply, error)
-	RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error)
-	RandomNickname(context.Context, *common.SexReq) (*RandomNicknameReply, error)
 	StatisticsSubscribeMessage(context.Context, *StatisticsSubscribeMessageRequest) (*emptypb.Empty, error)
 	UploadMaterialVoice(context.Context, *MediaID) (*MaterialLink, error)
 }
@@ -47,11 +44,8 @@ func RegisterAccountHTTPServer(s *http.Server, srv AccountHTTPServer) {
 	r.POST("/api/login/authorization/miniprogram", _Account_AuthorizationMiniProgram0_HTTP_Handler(srv))
 	r.POST("/api/login/config", _Account_GetUserLoginConfig0_HTTP_Handler(srv))
 	r.POST("/api/login/gzh/conf", _Account_GetGetGzhConfig0_HTTP_Handler(srv))
-	r.POST("/api/common/random/nickname", _Account_RandomNickname0_HTTP_Handler(srv))
-	r.POST("/api/common/random/avatar", _Account_RandomAvatar0_HTTP_Handler(srv))
-	r.POST("/api/common/subscribe/statistic", _Account_StatisticsSubscribeMessage0_HTTP_Handler(srv))
-	r.POST("/api/common/random/introduce", _Account_RandomIntroduce0_HTTP_Handler(srv))
 	r.POST("/api/common/material/upload/voice", _Account_UploadMaterialVoice0_HTTP_Handler(srv))
+	r.POST("/api/common/subscribe/statistic", _Account_StatisticsSubscribeMessage0_HTTP_Handler(srv))
 }
 
 func _Account_DebugLogin0_HTTP_Handler(srv AccountHTTPServer) func(ctx http.Context) error {
@@ -189,45 +183,18 @@ func _Account_GetGetGzhConfig0_HTTP_Handler(srv AccountHTTPServer) func(ctx http
 	}
 }
 
-func _Account_RandomNickname0_HTTP_Handler(srv AccountHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.SexReq
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.account.Account/RandomNickname")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.RandomNickname(ctx, req.(*common.SexReq))
-		})
-		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 _Account_RandomAvatar0_HTTP_Handler(srv AccountHTTPServer) func(ctx http.Context) error {
+func _Account_UploadMaterialVoice0_HTTP_Handler(srv AccountHTTPServer) func(ctx http.Context) error {
 	return func(ctx http.Context) error {
-		var in common.SexReq
+		var in MediaID
 		if err := ctx.Bind(&in); err != nil {
 			return err
 		}
 		if err := ctx.BindQuery(&in); err != nil {
 			return err
 		}
-		http.SetOperation(ctx, "/api.account.Account/RandomAvatar")
+		http.SetOperation(ctx, "/api.account.Account/UploadMaterialVoice")
 		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.RandomAvatar(ctx, req.(*common.SexReq))
+			return srv.UploadMaterialVoice(ctx, req.(*MediaID))
 		})
 		out, err := h(ctx, &in)
 		if err != nil {
@@ -270,69 +237,12 @@ func _Account_StatisticsSubscribeMessage0_HTTP_Handler(srv AccountHTTPServer) fu
 	}
 }
 
-func _Account_RandomIntroduce0_HTTP_Handler(srv AccountHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in common.SexReq
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.account.Account/RandomIntroduce")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.RandomIntroduce(ctx, req.(*common.SexReq))
-		})
-		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 _Account_UploadMaterialVoice0_HTTP_Handler(srv AccountHTTPServer) func(ctx http.Context) error {
-	return func(ctx http.Context) error {
-		var in MediaID
-		if err := ctx.Bind(&in); err != nil {
-			return err
-		}
-		if err := ctx.BindQuery(&in); err != nil {
-			return err
-		}
-		http.SetOperation(ctx, "/api.account.Account/UploadMaterialVoice")
-		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.UploadMaterialVoice(ctx, req.(*MediaID))
-		})
-		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 AccountHTTPClient interface {
 	Authorization(ctx context.Context, req *AuthorizationRequest, opts ...http.CallOption) (rsp *TokenReply, err error)
 	AuthorizationMiniProgram(ctx context.Context, req *AuthorizationMiniProgramRequest, opts ...http.CallOption) (rsp *MiniProgramTokenReply, err error)
 	DebugLogin(ctx context.Context, req *DebugLoginRequest, opts ...http.CallOption) (rsp *TokenReply, err error)
 	GetGetGzhConfig(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetGetGzhConfigReply, err error)
 	GetUserLoginConfig(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.GetLoginConfigReply, err error)
-	RandomAvatar(ctx context.Context, req *common.SexReq, opts ...http.CallOption) (rsp *RandomAvatarReply, err error)
-	RandomIntroduce(ctx context.Context, req *common.SexReq, opts ...http.CallOption) (rsp *common.RandomIntroduceReply, err error)
-	RandomNickname(ctx context.Context, req *common.SexReq, opts ...http.CallOption) (rsp *RandomNicknameReply, err error)
 	StatisticsSubscribeMessage(ctx context.Context, req *StatisticsSubscribeMessageRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	UploadMaterialVoice(ctx context.Context, req *MediaID, opts ...http.CallOption) (rsp *MaterialLink, err error)
 }
@@ -410,45 +320,6 @@ func (c *AccountHTTPClientImpl) GetUserLoginConfig(ctx context.Context, in *empt
 	return &out, err
 }
 
-func (c *AccountHTTPClientImpl) RandomAvatar(ctx context.Context, in *common.SexReq, opts ...http.CallOption) (*RandomAvatarReply, error) {
-	var out RandomAvatarReply
-	pattern := "/api/common/random/avatar"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.account.Account/RandomAvatar"))
-	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 *AccountHTTPClientImpl) RandomIntroduce(ctx context.Context, in *common.SexReq, opts ...http.CallOption) (*common.RandomIntroduceReply, error) {
-	var out common.RandomIntroduceReply
-	pattern := "/api/common/random/introduce"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.account.Account/RandomIntroduce"))
-	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 *AccountHTTPClientImpl) RandomNickname(ctx context.Context, in *common.SexReq, opts ...http.CallOption) (*RandomNicknameReply, error) {
-	var out RandomNicknameReply
-	pattern := "/api/common/random/nickname"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.account.Account/RandomNickname"))
-	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 *AccountHTTPClientImpl) StatisticsSubscribeMessage(ctx context.Context, in *StatisticsSubscribeMessageRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
 	var out emptypb.Empty
 	pattern := "/api/common/subscribe/statistic"

+ 114 - 364
api/basics/basics.pb.go

@@ -22,194 +22,6 @@ const (
 	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
 )
 
-type CheckTextRequest struct {
-	state         protoimpl.MessageState
-	sizeCache     protoimpl.SizeCache
-	unknownFields protoimpl.UnknownFields
-
-	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text"` // 待审核的文本
-}
-
-func (x *CheckTextRequest) Reset() {
-	*x = CheckTextRequest{}
-	if protoimpl.UnsafeEnabled {
-		mi := &file_basics_proto_msgTypes[0]
-		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
-		ms.StoreMessageInfo(mi)
-	}
-}
-
-func (x *CheckTextRequest) String() string {
-	return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CheckTextRequest) ProtoMessage() {}
-
-func (x *CheckTextRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_basics_proto_msgTypes[0]
-	if protoimpl.UnsafeEnabled && x != nil {
-		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
-		if ms.LoadMessageInfo() == nil {
-			ms.StoreMessageInfo(mi)
-		}
-		return ms
-	}
-	return mi.MessageOf(x)
-}
-
-// Deprecated: Use CheckTextRequest.ProtoReflect.Descriptor instead.
-func (*CheckTextRequest) Descriptor() ([]byte, []int) {
-	return file_basics_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *CheckTextRequest) GetText() string {
-	if x != nil {
-		return x.Text
-	}
-	return ""
-}
-
-type CheckTextReply struct {
-	state         protoimpl.MessageState
-	sizeCache     protoimpl.SizeCache
-	unknownFields protoimpl.UnknownFields
-
-	IsPass bool `protobuf:"varint,1,opt,name=isPass,proto3" json:"isPass"` // 是否通过
-}
-
-func (x *CheckTextReply) Reset() {
-	*x = CheckTextReply{}
-	if protoimpl.UnsafeEnabled {
-		mi := &file_basics_proto_msgTypes[1]
-		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
-		ms.StoreMessageInfo(mi)
-	}
-}
-
-func (x *CheckTextReply) String() string {
-	return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CheckTextReply) ProtoMessage() {}
-
-func (x *CheckTextReply) ProtoReflect() protoreflect.Message {
-	mi := &file_basics_proto_msgTypes[1]
-	if protoimpl.UnsafeEnabled && x != nil {
-		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
-		if ms.LoadMessageInfo() == nil {
-			ms.StoreMessageInfo(mi)
-		}
-		return ms
-	}
-	return mi.MessageOf(x)
-}
-
-// Deprecated: Use CheckTextReply.ProtoReflect.Descriptor instead.
-func (*CheckTextReply) Descriptor() ([]byte, []int) {
-	return file_basics_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *CheckTextReply) GetIsPass() bool {
-	if x != nil {
-		return x.IsPass
-	}
-	return false
-}
-
-type MediaID struct {
-	state         protoimpl.MessageState
-	sizeCache     protoimpl.SizeCache
-	unknownFields protoimpl.UnknownFields
-
-	MediaId string `protobuf:"bytes,1,opt,name=mediaId,proto3" json:"mediaId"`
-}
-
-func (x *MediaID) Reset() {
-	*x = MediaID{}
-	if protoimpl.UnsafeEnabled {
-		mi := &file_basics_proto_msgTypes[2]
-		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
-		ms.StoreMessageInfo(mi)
-	}
-}
-
-func (x *MediaID) String() string {
-	return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MediaID) ProtoMessage() {}
-
-func (x *MediaID) ProtoReflect() protoreflect.Message {
-	mi := &file_basics_proto_msgTypes[2]
-	if protoimpl.UnsafeEnabled && x != nil {
-		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
-		if ms.LoadMessageInfo() == nil {
-			ms.StoreMessageInfo(mi)
-		}
-		return ms
-	}
-	return mi.MessageOf(x)
-}
-
-// Deprecated: Use MediaID.ProtoReflect.Descriptor instead.
-func (*MediaID) Descriptor() ([]byte, []int) {
-	return file_basics_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *MediaID) GetMediaId() string {
-	if x != nil {
-		return x.MediaId
-	}
-	return ""
-}
-
-type MaterialLink struct {
-	state         protoimpl.MessageState
-	sizeCache     protoimpl.SizeCache
-	unknownFields protoimpl.UnknownFields
-
-	Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link"`
-}
-
-func (x *MaterialLink) Reset() {
-	*x = MaterialLink{}
-	if protoimpl.UnsafeEnabled {
-		mi := &file_basics_proto_msgTypes[3]
-		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
-		ms.StoreMessageInfo(mi)
-	}
-}
-
-func (x *MaterialLink) String() string {
-	return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MaterialLink) ProtoMessage() {}
-
-func (x *MaterialLink) ProtoReflect() protoreflect.Message {
-	mi := &file_basics_proto_msgTypes[3]
-	if protoimpl.UnsafeEnabled && x != nil {
-		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
-		if ms.LoadMessageInfo() == nil {
-			ms.StoreMessageInfo(mi)
-		}
-		return ms
-	}
-	return mi.MessageOf(x)
-}
-
-// Deprecated: Use MaterialLink.ProtoReflect.Descriptor instead.
-func (*MaterialLink) Descriptor() ([]byte, []int) {
-	return file_basics_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *MaterialLink) GetLink() string {
-	if x != nil {
-		return x.Link
-	}
-	return ""
-}
-
 type RandomNicknameReply struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache
@@ -221,7 +33,7 @@ type RandomNicknameReply struct {
 func (x *RandomNicknameReply) Reset() {
 	*x = RandomNicknameReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_basics_proto_msgTypes[4]
+		mi := &file_basics_proto_msgTypes[0]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -234,7 +46,7 @@ func (x *RandomNicknameReply) String() string {
 func (*RandomNicknameReply) ProtoMessage() {}
 
 func (x *RandomNicknameReply) ProtoReflect() protoreflect.Message {
-	mi := &file_basics_proto_msgTypes[4]
+	mi := &file_basics_proto_msgTypes[0]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -247,7 +59,7 @@ func (x *RandomNicknameReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use RandomNicknameReply.ProtoReflect.Descriptor instead.
 func (*RandomNicknameReply) Descriptor() ([]byte, []int) {
-	return file_basics_proto_rawDescGZIP(), []int{4}
+	return file_basics_proto_rawDescGZIP(), []int{0}
 }
 
 func (x *RandomNicknameReply) GetNickname() string {
@@ -268,7 +80,7 @@ type RandomAvatarReply struct {
 func (x *RandomAvatarReply) Reset() {
 	*x = RandomAvatarReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_basics_proto_msgTypes[5]
+		mi := &file_basics_proto_msgTypes[1]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -281,7 +93,7 @@ func (x *RandomAvatarReply) String() string {
 func (*RandomAvatarReply) ProtoMessage() {}
 
 func (x *RandomAvatarReply) ProtoReflect() protoreflect.Message {
-	mi := &file_basics_proto_msgTypes[5]
+	mi := &file_basics_proto_msgTypes[1]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -294,7 +106,7 @@ func (x *RandomAvatarReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use RandomAvatarReply.ProtoReflect.Descriptor instead.
 func (*RandomAvatarReply) Descriptor() ([]byte, []int) {
-	return file_basics_proto_rawDescGZIP(), []int{5}
+	return file_basics_proto_rawDescGZIP(), []int{1}
 }
 
 func (x *RandomAvatarReply) GetAvatarUrl() string {
@@ -315,7 +127,7 @@ type RandomAvatarListReply struct {
 func (x *RandomAvatarListReply) Reset() {
 	*x = RandomAvatarListReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_basics_proto_msgTypes[6]
+		mi := &file_basics_proto_msgTypes[2]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -328,7 +140,7 @@ func (x *RandomAvatarListReply) String() string {
 func (*RandomAvatarListReply) ProtoMessage() {}
 
 func (x *RandomAvatarListReply) ProtoReflect() protoreflect.Message {
-	mi := &file_basics_proto_msgTypes[6]
+	mi := &file_basics_proto_msgTypes[2]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -341,7 +153,7 @@ func (x *RandomAvatarListReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use RandomAvatarListReply.ProtoReflect.Descriptor instead.
 func (*RandomAvatarListReply) Descriptor() ([]byte, []int) {
-	return file_basics_proto_rawDescGZIP(), []int{6}
+	return file_basics_proto_rawDescGZIP(), []int{2}
 }
 
 func (x *RandomAvatarListReply) GetList() []string {
@@ -359,83 +171,73 @@ var file_basics_proto_rawDesc = []byte{
 	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
 	0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f,
 	0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
-	0x6f, 0x22, 0x26, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65,
-	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20,
-	0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 0x28, 0x0a, 0x0e, 0x43, 0x68, 0x65,
-	0x63, 0x6b, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x69,
-	0x73, 0x50, 0x61, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x50,
-	0x61, 0x73, 0x73, 0x22, 0x23, 0x0a, 0x07, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x44, 0x12, 0x18,
-	0x0a, 0x07, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
-	0x07, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x64, 0x22, 0x22, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x65,
-	0x72, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b,
-	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x31, 0x0a, 0x13,
-	0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65,
-	0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18,
-	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x22,
-	0x31, 0x0a, 0x11, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52,
-	0x65, 0x70, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
-	0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55,
-	0x72, 0x6c, 0x22, 0x2b, 0x0a, 0x15, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74,
-	0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6c,
-	0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x32,
-	0xc4, 0x06, 0x0a, 0x06, 0x42, 0x61, 0x73, 0x69, 0x63, 0x73, 0x12, 0x6d, 0x0a, 0x0e, 0x52, 0x61,
-	0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x2e, 0x61,
-	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71,
-	0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x52, 0x61,
-	0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c,
-	0x79, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f,
-	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x6e, 0x69,
-	0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x67, 0x0a, 0x0c, 0x52, 0x61, 0x6e,
-	0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e,
-	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e,
-	0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f,
-	0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x24, 0x82, 0xd3,
-	0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
-	0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x3a,
-	0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0f, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x74, 0x72,
-	0x6f, 0x64, 0x75, 0x63, 0x65, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
-	0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e,
-	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x74,
-	0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x27, 0x82, 0xd3, 0xe4,
-	0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
-	0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63,
-	0x65, 0x3a, 0x01, 0x2a, 0x12, 0x4b, 0x0a, 0x10, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76,
-	0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
-	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x21, 0x2e, 0x61,
-	0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d,
-	0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
-	0x00, 0x12, 0x40, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74,
-	0x42, 0x79, 0x53, 0x65, 0x78, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
-	0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e,
-	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
-	0x70, 0x6c, 0x79, 0x12, 0x3a, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x73, 0x42,
-	0x79, 0x49, 0x44, 0x73, 0x12, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
-	0x6e, 0x2e, 0x49, 0x64, 0x73, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
-	0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
-	0x41, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x6d, 0x65, 0x42, 0x79, 0x54, 0x79, 0x70,
-	0x65, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d,
-	0x65, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69,
-	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74,
-	0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f,
-	0x70, 0x69, 0x63, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
-	0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65,
-	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
-	0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74,
-	0x22, 0x00, 0x12, 0x41, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4d, 0x65, 0x6d, 0x65,
-	0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61,
-	0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
-	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x4c,
-	0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x12, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x53,
-	0x77, 0x69, 0x66, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x2e, 0x61, 0x70,
-	0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e,
-	0x75, 0x6d, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x78, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
-	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74,
-	0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x42, 0x43, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61,
-	0x73, 0x69, 0x63, 0x73, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62,
-	0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77,
-	0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61,
-	0x73, 0x69, 0x63, 0x73, 0x3b, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
-	0x74, 0x6f, 0x33,
+	0x6f, 0x22, 0x31, 0x0a, 0x13, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e,
+	0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b,
+	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b,
+	0x6e, 0x61, 0x6d, 0x65, 0x22, 0x31, 0x0a, 0x11, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76,
+	0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61,
+	0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76,
+	0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22, 0x2b, 0x0a, 0x15, 0x52, 0x61, 0x6e, 0x64, 0x6f,
+	0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
+	0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04,
+	0x6c, 0x69, 0x73, 0x74, 0x32, 0xc4, 0x06, 0x0a, 0x06, 0x42, 0x61, 0x73, 0x69, 0x63, 0x73, 0x12,
+	0x6d, 0x0a, 0x0e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
+	0x65, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53,
+	0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69,
+	0x63, 0x73, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
+	0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b,
+	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64,
+	0x6f, 0x6d, 0x2f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x67,
+	0x0a, 0x0c, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x12,
+	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52,
+	0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x2e,
+	0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x70, 0x6c,
+	0x79, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f,
+	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x61, 0x76,
+	0x61, 0x74, 0x61, 0x72, 0x3a, 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0f, 0x52, 0x61, 0x6e, 0x64, 0x6f,
+	0x6d, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69,
+	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x20,
+	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x64,
+	0x6f, 0x6d, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79,
+	0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63,
+	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74,
+	0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x4b, 0x0a, 0x10, 0x52, 0x61, 0x6e,
+	0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x2e,
+	0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65,
+	0x71, 0x1a, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x52,
+	0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52,
+	0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61,
+	0x67, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x53, 0x65, 0x78, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69,
+	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x18,
+	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c,
+	0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3a, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64,
+	0x54, 0x61, 0x67, 0x73, 0x42, 0x79, 0x49, 0x44, 0x73, 0x12, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x49, 0x64, 0x73, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69,
+	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52,
+	0x65, 0x70, 0x6c, 0x79, 0x12, 0x41, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x6d, 0x65,
+	0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
+	0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+	0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d,
+	0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x43,
+	0x68, 0x61, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
+	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f,
+	0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69,
+	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f, 0x70, 0x69,
+	0x63, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x64, 0x6f,
+	0x6d, 0x4d, 0x65, 0x6d, 0x65, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
+	0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x1a, 0x1a, 0x2e, 0x61,
+	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+	0x54, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x12, 0x52, 0x61,
+	0x6e, 0x64, 0x6f, 0x6d, 0x53, 0x77, 0x69, 0x66, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
+	0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61,
+	0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x78, 0x1a, 0x1a, 0x2e,
+	0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
+	0x6e, 0x54, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x42, 0x43, 0x0a, 0x0a, 0x61,
+	0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74,
+	0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76,
+	0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61,
+	0x70, 0x69, 0x2f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x3b, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73,
+	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 }
 
 var (
@@ -450,48 +252,44 @@ func file_basics_proto_rawDescGZIP() []byte {
 	return file_basics_proto_rawDescData
 }
 
-var file_basics_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
+var file_basics_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
 var file_basics_proto_goTypes = []interface{}{
-	(*CheckTextRequest)(nil),            // 0: api.basics.CheckTextRequest
-	(*CheckTextReply)(nil),              // 1: api.basics.CheckTextReply
-	(*MediaID)(nil),                     // 2: api.basics.MediaID
-	(*MaterialLink)(nil),                // 3: api.basics.MaterialLink
-	(*RandomNicknameReply)(nil),         // 4: api.basics.RandomNicknameReply
-	(*RandomAvatarReply)(nil),           // 5: api.basics.RandomAvatarReply
-	(*RandomAvatarListReply)(nil),       // 6: api.basics.RandomAvatarListReply
-	(*common.SexReq)(nil),               // 7: api.common.SexReq
-	(*common.Ids)(nil),                  // 8: api.common.Ids
-	(*common.MemeRequest)(nil),          // 9: api.common.MemeRequest
-	(*common.FindChatTopicRequest)(nil), // 10: api.common.FindChatTopicRequest
-	(*common.RandomNum)(nil),            // 11: api.common.RandomNum
-	(*common.RandomNumAndSex)(nil),      // 12: api.common.RandomNumAndSex
-	(*common.RandomIntroduceReply)(nil), // 13: api.common.RandomIntroduceReply
-	(*common.TagListReply)(nil),         // 14: api.common.TagListReply
-	(*common.MemeList)(nil),             // 15: api.common.MemeList
-	(*common.ChatTopicList)(nil),        // 16: api.common.ChatTopicList
-	(*common.CommonTextList)(nil),       // 17: api.common.CommonTextList
+	(*RandomNicknameReply)(nil),         // 0: api.basics.RandomNicknameReply
+	(*RandomAvatarReply)(nil),           // 1: api.basics.RandomAvatarReply
+	(*RandomAvatarListReply)(nil),       // 2: api.basics.RandomAvatarListReply
+	(*common.SexReq)(nil),               // 3: api.common.SexReq
+	(*common.Ids)(nil),                  // 4: api.common.Ids
+	(*common.MemeRequest)(nil),          // 5: api.common.MemeRequest
+	(*common.FindChatTopicRequest)(nil), // 6: api.common.FindChatTopicRequest
+	(*common.RandomNum)(nil),            // 7: api.common.RandomNum
+	(*common.RandomNumAndSex)(nil),      // 8: api.common.RandomNumAndSex
+	(*common.RandomIntroduceReply)(nil), // 9: api.common.RandomIntroduceReply
+	(*common.TagListReply)(nil),         // 10: api.common.TagListReply
+	(*common.MemeList)(nil),             // 11: api.common.MemeList
+	(*common.ChatTopicList)(nil),        // 12: api.common.ChatTopicList
+	(*common.CommonTextList)(nil),       // 13: api.common.CommonTextList
 }
 var file_basics_proto_depIdxs = []int32{
-	7,  // 0: api.basics.Basics.RandomNickname:input_type -> api.common.SexReq
-	7,  // 1: api.basics.Basics.RandomAvatar:input_type -> api.common.SexReq
-	7,  // 2: api.basics.Basics.RandomIntroduce:input_type -> api.common.SexReq
-	7,  // 3: api.basics.Basics.RandomAvatarList:input_type -> api.common.SexReq
-	7,  // 4: api.basics.Basics.FindTagListBySex:input_type -> api.common.SexReq
-	8,  // 5: api.basics.Basics.FindTagsByIDs:input_type -> api.common.Ids
-	9,  // 6: api.basics.Basics.FindMemeByType:input_type -> api.common.MemeRequest
-	10, // 7: api.basics.Basics.FindChatTopic:input_type -> api.common.FindChatTopicRequest
-	11, // 8: api.basics.Basics.RandomMeme:input_type -> api.common.RandomNum
-	12, // 9: api.basics.Basics.RandomSwiftMessage:input_type -> api.common.RandomNumAndSex
-	4,  // 10: api.basics.Basics.RandomNickname:output_type -> api.basics.RandomNicknameReply
-	5,  // 11: api.basics.Basics.RandomAvatar:output_type -> api.basics.RandomAvatarReply
-	13, // 12: api.basics.Basics.RandomIntroduce:output_type -> api.common.RandomIntroduceReply
-	6,  // 13: api.basics.Basics.RandomAvatarList:output_type -> api.basics.RandomAvatarListReply
-	14, // 14: api.basics.Basics.FindTagListBySex:output_type -> api.common.TagListReply
-	14, // 15: api.basics.Basics.FindTagsByIDs:output_type -> api.common.TagListReply
-	15, // 16: api.basics.Basics.FindMemeByType:output_type -> api.common.MemeList
-	16, // 17: api.basics.Basics.FindChatTopic:output_type -> api.common.ChatTopicList
-	17, // 18: api.basics.Basics.RandomMeme:output_type -> api.common.CommonTextList
-	17, // 19: api.basics.Basics.RandomSwiftMessage:output_type -> api.common.CommonTextList
+	3,  // 0: api.basics.Basics.RandomNickname:input_type -> api.common.SexReq
+	3,  // 1: api.basics.Basics.RandomAvatar:input_type -> api.common.SexReq
+	3,  // 2: api.basics.Basics.RandomIntroduce:input_type -> api.common.SexReq
+	3,  // 3: api.basics.Basics.RandomAvatarList:input_type -> api.common.SexReq
+	3,  // 4: api.basics.Basics.FindTagListBySex:input_type -> api.common.SexReq
+	4,  // 5: api.basics.Basics.FindTagsByIDs:input_type -> api.common.Ids
+	5,  // 6: api.basics.Basics.FindMemeByType:input_type -> api.common.MemeRequest
+	6,  // 7: api.basics.Basics.FindChatTopic:input_type -> api.common.FindChatTopicRequest
+	7,  // 8: api.basics.Basics.RandomMeme:input_type -> api.common.RandomNum
+	8,  // 9: api.basics.Basics.RandomSwiftMessage:input_type -> api.common.RandomNumAndSex
+	0,  // 10: api.basics.Basics.RandomNickname:output_type -> api.basics.RandomNicknameReply
+	1,  // 11: api.basics.Basics.RandomAvatar:output_type -> api.basics.RandomAvatarReply
+	9,  // 12: api.basics.Basics.RandomIntroduce:output_type -> api.common.RandomIntroduceReply
+	2,  // 13: api.basics.Basics.RandomAvatarList:output_type -> api.basics.RandomAvatarListReply
+	10, // 14: api.basics.Basics.FindTagListBySex:output_type -> api.common.TagListReply
+	10, // 15: api.basics.Basics.FindTagsByIDs:output_type -> api.common.TagListReply
+	11, // 16: api.basics.Basics.FindMemeByType:output_type -> api.common.MemeList
+	12, // 17: api.basics.Basics.FindChatTopic:output_type -> api.common.ChatTopicList
+	13, // 18: api.basics.Basics.RandomMeme:output_type -> api.common.CommonTextList
+	13, // 19: api.basics.Basics.RandomSwiftMessage:output_type -> api.common.CommonTextList
 	10, // [10:20] is the sub-list for method output_type
 	0,  // [0:10] is the sub-list for method input_type
 	0,  // [0:0] is the sub-list for extension type_name
@@ -506,54 +304,6 @@ func file_basics_proto_init() {
 	}
 	if !protoimpl.UnsafeEnabled {
 		file_basics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*CheckTextRequest); i {
-			case 0:
-				return &v.state
-			case 1:
-				return &v.sizeCache
-			case 2:
-				return &v.unknownFields
-			default:
-				return nil
-			}
-		}
-		file_basics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*CheckTextReply); i {
-			case 0:
-				return &v.state
-			case 1:
-				return &v.sizeCache
-			case 2:
-				return &v.unknownFields
-			default:
-				return nil
-			}
-		}
-		file_basics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*MediaID); i {
-			case 0:
-				return &v.state
-			case 1:
-				return &v.sizeCache
-			case 2:
-				return &v.unknownFields
-			default:
-				return nil
-			}
-		}
-		file_basics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*MaterialLink); i {
-			case 0:
-				return &v.state
-			case 1:
-				return &v.sizeCache
-			case 2:
-				return &v.unknownFields
-			default:
-				return nil
-			}
-		}
-		file_basics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
 			switch v := v.(*RandomNicknameReply); i {
 			case 0:
 				return &v.state
@@ -565,7 +315,7 @@ func file_basics_proto_init() {
 				return nil
 			}
 		}
-		file_basics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+		file_basics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
 			switch v := v.(*RandomAvatarReply); i {
 			case 0:
 				return &v.state
@@ -577,7 +327,7 @@ func file_basics_proto_init() {
 				return nil
 			}
 		}
-		file_basics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+		file_basics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
 			switch v := v.(*RandomAvatarListReply); i {
 			case 0:
 				return &v.state
@@ -596,7 +346,7 @@ func file_basics_proto_init() {
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: file_basics_proto_rawDesc,
 			NumEnums:      0,
-			NumMessages:   7,
+			NumMessages:   3,
 			NumExtensions: 0,
 			NumServices:   1,
 		},

+ 0 - 16
api/basics/basics.proto

@@ -47,22 +47,6 @@ service Basics {
     rpc RandomSwiftMessage (common.RandomNumAndSex) returns (common.CommonTextList){};
 }
 
-message CheckTextRequest{
-  string text = 1;// 待审核的文本
-}
-
-message CheckTextReply{
-  bool isPass = 1;// 是否通过
-}
-
-message MediaID{
-  string mediaId = 1;
-}
-
-message MaterialLink {
-  string link = 1;
-}
-
 message RandomNicknameReply{
   string nickname = 1;
 }

+ 5 - 18
js/api/account/account_http_pb.ts

@@ -1,7 +1,7 @@
 // @ts-ignore
 import request from '@/libs/request';
-import {DebugLoginRequest,TokenReply,AuthorizationRequest,AuthorizationMiniProgramRequest,MiniProgramTokenReply,GetGetGzhConfigReply,RandomNicknameReply,RandomAvatarReply,StatisticsSubscribeMessageRequest,MediaID,MaterialLink,ReduceSubscribeMessageRequest,RandomAvatarListReply,CheckTextRequest,CheckTextReply,OpenIDAndAppIDRequest,IdentityInfo,GetIdentifyByAccountIDRequest,GetIdentifyByAccountIDReply,FindIdentifyByAccountIDAndIsSubscribeRequest,FindIdentifyByAccountIDAndIsSubscribeReply} from "./account_pb";
-import {GetLoginConfigReply,SexReq,RandomIntroduceReply,PersonIDList,TagListReply,Ids,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex} from "../common/common_pb";
+import {DebugLoginRequest,TokenReply,AuthorizationRequest,AuthorizationMiniProgramRequest,MiniProgramTokenReply,GetGetGzhConfigReply,MediaID,MaterialLink,StatisticsSubscribeMessageRequest,CheckTextRequest,CheckTextReply,OpenIDAndAppIDRequest,IdentityInfo,GetIdentifyByAccountIDRequest,GetIdentifyByAccountIDReply,FindIdentifyByAccountIDAndIsSubscribeRequest,FindIdentifyByAccountIDAndIsSubscribeReply} from "./account_pb";
+import {GetLoginConfigReply} from "../common/common_pb";
 
 const AccountService = {
   DebugLogin: async (req?: DebugLoginRequest) => {
@@ -26,12 +26,9 @@ const AccountService = {
 	const res = await request.post<{ data: GetGetGzhConfigReply, code: string, message: string }>('/api/login/gzh/conf', req);
     return res.data.data;
   },
-  RandomNickname: async (req?: SexReq) => {
-	const res = await request.post<{ data: RandomNicknameReply, code: string, message: string }>('/api/common/random/nickname', req);
-    return res.data.data;
-  },
-  RandomAvatar: async (req?: SexReq) => {
-	const res = await request.post<{ data: RandomAvatarReply, code: string, message: string }>('/api/common/random/avatar', req);
+  /**  通过微信下载语音并上传到七牛 */
+  UploadMaterialVoice: async (req?: MediaID) => {
+	const res = await request.post<{ data: MaterialLink, code: string, message: string }>('/api/common/material/upload/voice', req);
     return res.data.data;
   },
   /**  统计订阅消息 */
@@ -39,16 +36,6 @@ const AccountService = {
 	const res = await request.post('/api/common/subscribe/statistic', req);
     return res.data.data;
   },
-  /**  随机介绍接口 */
-  RandomIntroduce: async (req?: SexReq) => {
-	const res = await request.post<{ data: RandomIntroduceReply, code: string, message: string }>('/api/common/random/introduce', req);
-    return res.data.data;
-  },
-  /**  通过微信下载语音并上传到七牛 */
-  UploadMaterialVoice: async (req?: MediaID) => {
-	const res = await request.post<{ data: MaterialLink, code: string, message: string }>('/api/common/material/upload/voice', req);
-    return res.data.data;
-  },
 
 };
 

+ 0 - 9
js/api/account/account_pb.ts

@@ -67,15 +67,6 @@ export interface MediaID{
 export interface MaterialLink{
     link?:string;
 }
-export interface RandomNicknameReply{
-    nickname?:string;
-}
-export interface RandomAvatarReply{
-    avatarUrl?:string;
-}
-export interface RandomAvatarListReply{
-    list?:Array<string>;
-}
 export interface OpenIDAndAppIDRequest{
     openId?:string;
     appId?:string;

+ 0 - 14
js/api/basics/basics_pb.ts

@@ -1,17 +1,3 @@
-export interface CheckTextRequest{
-    /**  待审核的文本 */
-    text?:string;
-}
-export interface CheckTextReply{
-    /**  是否通过 */
-    isPass?:boolean;
-}
-export interface MediaID{
-    mediaId?:string;
-}
-export interface MaterialLink{
-    link?:string;
-}
 export interface RandomNicknameReply{
     nickname?:string;
 }

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov