wfz 2 年之前
父节点
当前提交
21bb34d945

+ 176 - 116
api/basics/basics.pb.go

@@ -11,7 +11,6 @@ import (
 	_ "google.golang.org/genproto/googleapis/api/annotations"
 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
-	emptypb "google.golang.org/protobuf/types/known/emptypb"
 	reflect "reflect"
 	sync "sync"
 )
@@ -23,6 +22,53 @@ const (
 	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
 )
 
+type BannerConfRequest struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type"`
+}
+
+func (x *BannerConfRequest) Reset() {
+	*x = BannerConfRequest{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_basics_proto_msgTypes[0]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *BannerConfRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BannerConfRequest) ProtoMessage() {}
+
+func (x *BannerConfRequest) 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 BannerConfRequest.ProtoReflect.Descriptor instead.
+func (*BannerConfRequest) Descriptor() ([]byte, []int) {
+	return file_basics_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *BannerConfRequest) GetType() string {
+	if x != nil {
+		return x.Type
+	}
+	return ""
+}
+
 type BannerConfReply struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache
@@ -36,7 +82,7 @@ type BannerConfReply struct {
 func (x *BannerConfReply) Reset() {
 	*x = BannerConfReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_basics_proto_msgTypes[0]
+		mi := &file_basics_proto_msgTypes[1]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -49,7 +95,7 @@ func (x *BannerConfReply) String() string {
 func (*BannerConfReply) ProtoMessage() {}
 
 func (x *BannerConfReply) ProtoReflect() protoreflect.Message {
-	mi := &file_basics_proto_msgTypes[0]
+	mi := &file_basics_proto_msgTypes[1]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -62,7 +108,7 @@ func (x *BannerConfReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use BannerConfReply.ProtoReflect.Descriptor instead.
 func (*BannerConfReply) Descriptor() ([]byte, []int) {
-	return file_basics_proto_rawDescGZIP(), []int{0}
+	return file_basics_proto_rawDescGZIP(), []int{1}
 }
 
 func (x *BannerConfReply) GetIsOpen() bool {
@@ -97,7 +143,7 @@ type RandomNicknameReply struct {
 func (x *RandomNicknameReply) Reset() {
 	*x = RandomNicknameReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_basics_proto_msgTypes[1]
+		mi := &file_basics_proto_msgTypes[2]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -110,7 +156,7 @@ func (x *RandomNicknameReply) String() string {
 func (*RandomNicknameReply) ProtoMessage() {}
 
 func (x *RandomNicknameReply) ProtoReflect() protoreflect.Message {
-	mi := &file_basics_proto_msgTypes[1]
+	mi := &file_basics_proto_msgTypes[2]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -123,7 +169,7 @@ func (x *RandomNicknameReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use RandomNicknameReply.ProtoReflect.Descriptor instead.
 func (*RandomNicknameReply) Descriptor() ([]byte, []int) {
-	return file_basics_proto_rawDescGZIP(), []int{1}
+	return file_basics_proto_rawDescGZIP(), []int{2}
 }
 
 func (x *RandomNicknameReply) GetNickname() string {
@@ -144,7 +190,7 @@ type RandomAvatarReply struct {
 func (x *RandomAvatarReply) Reset() {
 	*x = RandomAvatarReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_basics_proto_msgTypes[2]
+		mi := &file_basics_proto_msgTypes[3]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -157,7 +203,7 @@ func (x *RandomAvatarReply) String() string {
 func (*RandomAvatarReply) ProtoMessage() {}
 
 func (x *RandomAvatarReply) ProtoReflect() protoreflect.Message {
-	mi := &file_basics_proto_msgTypes[2]
+	mi := &file_basics_proto_msgTypes[3]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -170,7 +216,7 @@ func (x *RandomAvatarReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use RandomAvatarReply.ProtoReflect.Descriptor instead.
 func (*RandomAvatarReply) Descriptor() ([]byte, []int) {
-	return file_basics_proto_rawDescGZIP(), []int{2}
+	return file_basics_proto_rawDescGZIP(), []int{3}
 }
 
 func (x *RandomAvatarReply) GetAvatarUrl() string {
@@ -191,7 +237,7 @@ type RandomAvatarListReply struct {
 func (x *RandomAvatarListReply) Reset() {
 	*x = RandomAvatarListReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_basics_proto_msgTypes[3]
+		mi := &file_basics_proto_msgTypes[4]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -204,7 +250,7 @@ func (x *RandomAvatarListReply) String() string {
 func (*RandomAvatarListReply) ProtoMessage() {}
 
 func (x *RandomAvatarListReply) ProtoReflect() protoreflect.Message {
-	mi := &file_basics_proto_msgTypes[3]
+	mi := &file_basics_proto_msgTypes[4]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -217,7 +263,7 @@ func (x *RandomAvatarListReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use RandomAvatarListReply.ProtoReflect.Descriptor instead.
 func (*RandomAvatarListReply) Descriptor() ([]byte, []int) {
-	return file_basics_proto_rawDescGZIP(), []int{3}
+	return file_basics_proto_rawDescGZIP(), []int{4}
 }
 
 func (x *RandomAvatarListReply) GetList() []string {
@@ -233,90 +279,92 @@ var file_basics_proto_rawDesc = []byte{
 	0x0a, 0x0c, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a,
 	0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
 	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, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
-	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 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, 0x63,
-	0x0a, 0x0f, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x52, 0x65, 0x70, 0x6c,
-	0x79, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
-	0x08, 0x52, 0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x69, 0x6e,
-	0x6b, 0x55, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x69, 0x6e, 0x6b,
-	0x55, 0x72, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72,
-	0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65,
-	0x55, 0x72, 0x6c, 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, 0xb9, 0x07, 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,
+	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, 0x27, 0x0a, 0x11, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x52,
+	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x63, 0x0a, 0x0f, 0x42, 0x61,
+	0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a,
+	0x06, 0x69, 0x73, 0x4f, 0x70, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69,
+	0x73, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x69, 0x6e, 0x6b, 0x55, 0x72, 0x6c,
+	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x69, 0x6e, 0x6b, 0x55, 0x72, 0x6c, 0x12,
+	0x1e, 0x0a, 0x0a, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20,
+	0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 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, 0xc0, 0x07, 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, 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, 0x73, 0x0a, 0x0a, 0x42,
-	0x61, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
-	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
-	0x79, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x42,
-	0x61, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x30,
-	0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 0x25, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d,
-	0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x77, 0x69, 0x74, 0x68, 0x6f,
-	0x75, 0x74, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x72, 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,
+	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,
-	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,
+	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, 0x7a, 0x0a, 0x0a, 0x42, 0x61, 0x6e, 0x6e, 0x65,
+	0x72, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69,
+	0x63, 0x73, 0x2e, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x52, 0x65, 0x71,
+	0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63,
+	0x73, 0x2e, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x52, 0x65, 0x70, 0x6c,
+	0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 0x25, 0x2f, 0x61, 0x70, 0x69, 0x2f,
+	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x77, 0x69,
+	0x74, 0x68, 0x6f, 0x75, 0x74, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x72,
+	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 (
@@ -331,14 +379,14 @@ func file_basics_proto_rawDescGZIP() []byte {
 	return file_basics_proto_rawDescData
 }
 
-var file_basics_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
+var file_basics_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
 var file_basics_proto_goTypes = []interface{}{
-	(*BannerConfReply)(nil),             // 0: api.basics.BannerConfReply
-	(*RandomNicknameReply)(nil),         // 1: api.basics.RandomNicknameReply
-	(*RandomAvatarReply)(nil),           // 2: api.basics.RandomAvatarReply
-	(*RandomAvatarListReply)(nil),       // 3: api.basics.RandomAvatarListReply
-	(*common.SexReq)(nil),               // 4: api.common.SexReq
-	(*emptypb.Empty)(nil),               // 5: google.protobuf.Empty
+	(*BannerConfRequest)(nil),           // 0: api.basics.BannerConfRequest
+	(*BannerConfReply)(nil),             // 1: api.basics.BannerConfReply
+	(*RandomNicknameReply)(nil),         // 2: api.basics.RandomNicknameReply
+	(*RandomAvatarReply)(nil),           // 3: api.basics.RandomAvatarReply
+	(*RandomAvatarListReply)(nil),       // 4: api.basics.RandomAvatarListReply
+	(*common.SexReq)(nil),               // 5: api.common.SexReq
 	(*common.Ids)(nil),                  // 6: api.common.Ids
 	(*common.MemeRequest)(nil),          // 7: api.common.MemeRequest
 	(*common.FindChatTopicRequest)(nil), // 8: api.common.FindChatTopicRequest
@@ -351,22 +399,22 @@ var file_basics_proto_goTypes = []interface{}{
 	(*common.CommonTextList)(nil),       // 15: api.common.CommonTextList
 }
 var file_basics_proto_depIdxs = []int32{
-	4,  // 0: api.basics.Basics.RandomNickname:input_type -> api.common.SexReq
-	4,  // 1: api.basics.Basics.RandomAvatar:input_type -> api.common.SexReq
-	4,  // 2: api.basics.Basics.RandomIntroduce:input_type -> api.common.SexReq
-	5,  // 3: api.basics.Basics.BannerConf:input_type -> google.protobuf.Empty
-	4,  // 4: api.basics.Basics.RandomAvatarList:input_type -> api.common.SexReq
-	4,  // 5: api.basics.Basics.FindTagListBySex:input_type -> api.common.SexReq
+	5,  // 0: api.basics.Basics.RandomNickname:input_type -> api.common.SexReq
+	5,  // 1: api.basics.Basics.RandomAvatar:input_type -> api.common.SexReq
+	5,  // 2: api.basics.Basics.RandomIntroduce:input_type -> api.common.SexReq
+	0,  // 3: api.basics.Basics.BannerConf:input_type -> api.basics.BannerConfRequest
+	5,  // 4: api.basics.Basics.RandomAvatarList:input_type -> api.common.SexReq
+	5,  // 5: api.basics.Basics.FindTagListBySex:input_type -> api.common.SexReq
 	6,  // 6: api.basics.Basics.FindTagsByIDs:input_type -> api.common.Ids
 	7,  // 7: api.basics.Basics.FindMemeByType:input_type -> api.common.MemeRequest
 	8,  // 8: api.basics.Basics.FindChatTopic:input_type -> api.common.FindChatTopicRequest
 	9,  // 9: api.basics.Basics.RandomMeme:input_type -> api.common.RandomNum
 	10, // 10: api.basics.Basics.RandomSwiftMessage:input_type -> api.common.RandomNumAndSex
-	1,  // 11: api.basics.Basics.RandomNickname:output_type -> api.basics.RandomNicknameReply
-	2,  // 12: api.basics.Basics.RandomAvatar:output_type -> api.basics.RandomAvatarReply
+	2,  // 11: api.basics.Basics.RandomNickname:output_type -> api.basics.RandomNicknameReply
+	3,  // 12: api.basics.Basics.RandomAvatar:output_type -> api.basics.RandomAvatarReply
 	11, // 13: api.basics.Basics.RandomIntroduce:output_type -> api.common.RandomIntroduceReply
-	0,  // 14: api.basics.Basics.BannerConf:output_type -> api.basics.BannerConfReply
-	3,  // 15: api.basics.Basics.RandomAvatarList:output_type -> api.basics.RandomAvatarListReply
+	1,  // 14: api.basics.Basics.BannerConf:output_type -> api.basics.BannerConfReply
+	4,  // 15: api.basics.Basics.RandomAvatarList:output_type -> api.basics.RandomAvatarListReply
 	12, // 16: api.basics.Basics.FindTagListBySex:output_type -> api.common.TagListReply
 	12, // 17: api.basics.Basics.FindTagsByIDs:output_type -> api.common.TagListReply
 	13, // 18: api.basics.Basics.FindMemeByType:output_type -> api.common.MemeList
@@ -387,7 +435,7 @@ func file_basics_proto_init() {
 	}
 	if !protoimpl.UnsafeEnabled {
 		file_basics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*BannerConfReply); i {
+			switch v := v.(*BannerConfRequest); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -399,7 +447,7 @@ func file_basics_proto_init() {
 			}
 		}
 		file_basics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*RandomNicknameReply); i {
+			switch v := v.(*BannerConfReply); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -411,7 +459,7 @@ func file_basics_proto_init() {
 			}
 		}
 		file_basics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*RandomAvatarReply); i {
+			switch v := v.(*RandomNicknameReply); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -423,6 +471,18 @@ func file_basics_proto_init() {
 			}
 		}
 		file_basics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*RandomAvatarReply); 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.(*RandomAvatarListReply); i {
 			case 0:
 				return &v.state
@@ -441,7 +501,7 @@ func file_basics_proto_init() {
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: file_basics_proto_rawDesc,
 			NumEnums:      0,
-			NumMessages:   4,
+			NumMessages:   5,
 			NumExtensions: 0,
 			NumServices:   1,
 		},

+ 6 - 2
api/basics/basics.proto

@@ -4,7 +4,7 @@ package api.basics;
 
 import "google/api/annotations.proto";
 //import "google/protobuf/struct.proto";
-import "google/protobuf/empty.proto";
+//import "google/protobuf/empty.proto";
 import "api/common/common.proto";
 
 option go_package = "git.ikuban.com/server/pw-protobuf/api/basics;basics";
@@ -31,7 +31,7 @@ service Basics {
         body:"*"
       };
     };
-    rpc BannerConf (google.protobuf.Empty) returns (BannerConfReply){
+    rpc BannerConf (BannerConfRequest) returns (BannerConfReply){
       option (google.api.http) = {
         post: "/api/common/config/withoutauth/banner",
         body:"*"
@@ -53,6 +53,10 @@ service Basics {
     rpc RandomSwiftMessage (common.RandomNumAndSex) returns (common.CommonTextList){};
 }
 
+message BannerConfRequest{
+  string type = 1;
+}
+
 message BannerConfReply{
   bool isOpen = 1;// 是否开启
   string linkUrl = 2;// 链接

+ 6 - 7
api/basics/basics_grpc.pb.go

@@ -8,7 +8,6 @@ import (
 	grpc "google.golang.org/grpc"
 	codes "google.golang.org/grpc/codes"
 	status "google.golang.org/grpc/status"
-	emptypb "google.golang.org/protobuf/types/known/emptypb"
 )
 
 // This is a compile-time assertion to ensure that this generated file
@@ -24,7 +23,7 @@ type BasicsClient interface {
 	RandomAvatar(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarReply, error)
 	// 随机介绍接口
 	RandomIntroduce(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.RandomIntroduceReply, error)
-	BannerConf(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BannerConfReply, error)
+	BannerConf(ctx context.Context, in *BannerConfRequest, opts ...grpc.CallOption) (*BannerConfReply, error)
 	// 随机头像列表
 	RandomAvatarList(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarListReply, error)
 	// 通过分组名和性别查询标签
@@ -76,7 +75,7 @@ func (c *basicsClient) RandomIntroduce(ctx context.Context, in *common.SexReq, o
 	return out, nil
 }
 
-func (c *basicsClient) BannerConf(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BannerConfReply, error) {
+func (c *basicsClient) BannerConf(ctx context.Context, in *BannerConfRequest, opts ...grpc.CallOption) (*BannerConfReply, error) {
 	out := new(BannerConfReply)
 	err := c.cc.Invoke(ctx, "/api.basics.Basics/BannerConf", in, out, opts...)
 	if err != nil {
@@ -156,7 +155,7 @@ type BasicsServer interface {
 	RandomAvatar(context.Context, *common.SexReq) (*RandomAvatarReply, error)
 	// 随机介绍接口
 	RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error)
-	BannerConf(context.Context, *emptypb.Empty) (*BannerConfReply, error)
+	BannerConf(context.Context, *BannerConfRequest) (*BannerConfReply, error)
 	// 随机头像列表
 	RandomAvatarList(context.Context, *common.SexReq) (*RandomAvatarListReply, error)
 	// 通过分组名和性别查询标签
@@ -187,7 +186,7 @@ func (UnimplementedBasicsServer) RandomAvatar(context.Context, *common.SexReq) (
 func (UnimplementedBasicsServer) RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method RandomIntroduce not implemented")
 }
-func (UnimplementedBasicsServer) BannerConf(context.Context, *emptypb.Empty) (*BannerConfReply, error) {
+func (UnimplementedBasicsServer) BannerConf(context.Context, *BannerConfRequest) (*BannerConfReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method BannerConf not implemented")
 }
 func (UnimplementedBasicsServer) RandomAvatarList(context.Context, *common.SexReq) (*RandomAvatarListReply, error) {
@@ -279,7 +278,7 @@ func _Basics_RandomIntroduce_Handler(srv interface{}, ctx context.Context, dec f
 }
 
 func _Basics_BannerConf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(emptypb.Empty)
+	in := new(BannerConfRequest)
 	if err := dec(in); err != nil {
 		return nil, err
 	}
@@ -291,7 +290,7 @@ func _Basics_BannerConf_Handler(srv interface{}, ctx context.Context, dec func(i
 		FullMethod: "/api.basics.Basics/BannerConf",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(BasicsServer).BannerConf(ctx, req.(*emptypb.Empty))
+		return srv.(BasicsServer).BannerConf(ctx, req.(*BannerConfRequest))
 	}
 	return interceptor(ctx, in, info, handler)
 }

+ 5 - 6
api/basics/basics_http.pb.go

@@ -11,7 +11,6 @@ import (
 	common "git.ikuban.com/server/pw-protobuf/api/common"
 	http "github.com/go-kratos/kratos/v2/transport/http"
 	binding "github.com/go-kratos/kratos/v2/transport/http/binding"
-	emptypb "google.golang.org/protobuf/types/known/emptypb"
 	ioutil "io/ioutil"
 	time "time"
 )
@@ -28,7 +27,7 @@ var _ = new(base.Html)
 const _ = http.SupportPackageIsVersion1
 
 type BasicsHTTPServer interface {
-	BannerConf(context.Context, *emptypb.Empty) (*BannerConfReply, error)
+	BannerConf(context.Context, *BannerConfRequest) (*BannerConfReply, error)
 	RandomAvatar(context.Context, *common.SexReq) (*RandomAvatarReply, error)
 	RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error)
 	RandomNickname(context.Context, *common.SexReq) (*RandomNicknameReply, error)
@@ -125,7 +124,7 @@ func _Basics_RandomIntroduce0_HTTP_Handler(srv BasicsHTTPServer) func(ctx http.C
 
 func _Basics_BannerConf0_HTTP_Handler(srv BasicsHTTPServer) func(ctx http.Context) error {
 	return func(ctx http.Context) error {
-		var in emptypb.Empty
+		var in BannerConfRequest
 		if err := ctx.Bind(&in); err != nil {
 			return err
 		}
@@ -134,7 +133,7 @@ func _Basics_BannerConf0_HTTP_Handler(srv BasicsHTTPServer) func(ctx http.Contex
 		}
 		http.SetOperation(ctx, "/api.basics.Basics/BannerConf")
 		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.BannerConf(ctx, req.(*emptypb.Empty))
+			return srv.BannerConf(ctx, req.(*BannerConfRequest))
 		})
 		out, err := h(ctx, &in)
 		if err != nil {
@@ -151,7 +150,7 @@ func _Basics_BannerConf0_HTTP_Handler(srv BasicsHTTPServer) func(ctx http.Contex
 }
 
 type BasicsHTTPClient interface {
-	BannerConf(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *BannerConfReply, err error)
+	BannerConf(ctx context.Context, req *BannerConfRequest, opts ...http.CallOption) (rsp *BannerConfReply, 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)
@@ -165,7 +164,7 @@ func NewBasicsHTTPClient(client *http.Client) BasicsHTTPClient {
 	return &BasicsHTTPClientImpl{client}
 }
 
-func (c *BasicsHTTPClientImpl) BannerConf(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*BannerConfReply, error) {
+func (c *BasicsHTTPClientImpl) BannerConf(ctx context.Context, in *BannerConfRequest, opts ...http.CallOption) (*BannerConfReply, error) {
 	var out BannerConfReply
 	pattern := "/api/common/config/withoutauth/banner"
 	path := binding.EncodeURL(pattern, in, false)

+ 8 - 0
client/basics.go

@@ -0,0 +1,8 @@
+package client
+
+const (
+	BannerTypeMessage = "message"
+	BannerTypeFriend  = "friend"
+	BannerTypeLiked   = "liked"
+	BannerTypeLike    = "like"
+)

+ 2 - 2
js/api/basics/basics_http_pb.ts

@@ -1,7 +1,7 @@
 // @ts-ignore
 import request from '@/libs/request';
 import {SexReq,RandomIntroduceReply,TagListReply,Ids,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex} from "../common/common_pb";
-import {RandomNicknameReply,RandomAvatarReply,BannerConfReply,RandomAvatarListReply} from "./basics_pb";
+import {RandomNicknameReply,RandomAvatarReply,BannerConfRequest,BannerConfReply,RandomAvatarListReply} from "./basics_pb";
 
 const BasicsService = {
   RandomNickname: async (req?: SexReq) => {
@@ -17,7 +17,7 @@ const BasicsService = {
 	const res = await request.post<{ data: RandomIntroduceReply, code: string, message: string }>('/api/common/random/introduce', req);
     return res.data.data;
   },
-  BannerConf: async (req?: undefined) => {
+  BannerConf: async (req?: BannerConfRequest) => {
 	const res = await request.post<{ data: BannerConfReply, code: string, message: string }>('/api/common/config/withoutauth/banner', req);
     return res.data.data;
   },

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

@@ -1,3 +1,6 @@
+export interface BannerConfRequest{
+    type?:string;
+}
 export interface BannerConfReply{
     /**  是否开启 */
     isOpen?:boolean;