wfz 3 жил өмнө
parent
commit
186138e249

+ 16 - 16
api/partner/partner.pb.go

@@ -148,14 +148,14 @@ type ExamineRecordInfo struct {
 	sizeCache     protoimpl.SizeCache
 	unknownFields protoimpl.UnknownFields
 
-	PartnerId      int64    `protobuf:"varint,1,opt,name=partnerId,proto3" json:"partnerId"`          // 接待员ID(number)
+	PartnerId      string   `protobuf:"bytes,1,opt,name=partnerId,proto3" json:"partnerId"`           // 接待员ID(string)
 	Nickname       string   `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`             // 昵称
 	AvatarUrl      string   `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"`           // 头像
 	IntroduceVoice string   `protobuf:"bytes,4,opt,name=introduceVoice,proto3" json:"introduceVoice"` // 介绍语音的链接
 	Signature      string   `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature"`           // 介绍(签名)
 	Pictures       []string `protobuf:"bytes,6,rep,name=pictures,proto3" json:"pictures"`             // 相册(主页图片)
 	Sex            int64    `protobuf:"varint,7,opt,name=sex,proto3" json:"sex"`                      // 性别
-	Pid            string   `protobuf:"bytes,8,opt,name=pid,proto3" json:"pid"`                       // 接待员ID(string)
+	Pid            int64    `protobuf:"varint,8,opt,name=pid,proto3" json:"pid"`                      // 接待员ID(number)
 	ExamineStatus  string   `protobuf:"bytes,9,opt,name=examineStatus,proto3" json:"examineStatus"`   //审核状态
 	Id             int64    `protobuf:"varint,10,opt,name=id,proto3" json:"id"`                       //id
 }
@@ -192,11 +192,11 @@ func (*ExamineRecordInfo) Descriptor() ([]byte, []int) {
 	return file_partner_proto_rawDescGZIP(), []int{2}
 }
 
-func (x *ExamineRecordInfo) GetPartnerId() int64 {
+func (x *ExamineRecordInfo) GetPartnerId() string {
 	if x != nil {
 		return x.PartnerId
 	}
-	return 0
+	return ""
 }
 
 func (x *ExamineRecordInfo) GetNickname() string {
@@ -241,11 +241,11 @@ func (x *ExamineRecordInfo) GetSex() int64 {
 	return 0
 }
 
-func (x *ExamineRecordInfo) GetPid() string {
+func (x *ExamineRecordInfo) GetPid() int64 {
 	if x != nil {
 		return x.Pid
 	}
-	return ""
+	return 0
 }
 
 func (x *ExamineRecordInfo) GetExamineStatus() string {
@@ -322,14 +322,14 @@ type ExamineInfo struct {
 	sizeCache     protoimpl.SizeCache
 	unknownFields protoimpl.UnknownFields
 
-	PartnerId      int64    `protobuf:"varint,1,opt,name=partnerId,proto3" json:"partnerId"`          // 接待员ID(number)
+	PartnerId      string   `protobuf:"bytes,1,opt,name=partnerId,proto3" json:"partnerId"`           // 接待员ID(string)
 	Nickname       string   `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`             // 昵称
 	AvatarUrl      string   `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl"`           // 头像
 	IntroduceVoice string   `protobuf:"bytes,4,opt,name=introduceVoice,proto3" json:"introduceVoice"` // 介绍语音的链接
 	Signature      string   `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature"`           // 介绍(签名)
 	Pictures       []string `protobuf:"bytes,6,rep,name=pictures,proto3" json:"pictures"`             // 相册(主页图片)
 	Sex            int64    `protobuf:"varint,7,opt,name=sex,proto3" json:"sex"`                      // 性别
-	Pid            string   `protobuf:"bytes,8,opt,name=pid,proto3" json:"pid"`                       // 接待员ID(string)
+	Pid            int64    `protobuf:"varint,8,opt,name=pid,proto3" json:"pid"`                      // 接待员ID(number)
 }
 
 func (x *ExamineInfo) Reset() {
@@ -364,11 +364,11 @@ func (*ExamineInfo) Descriptor() ([]byte, []int) {
 	return file_partner_proto_rawDescGZIP(), []int{4}
 }
 
-func (x *ExamineInfo) GetPartnerId() int64 {
+func (x *ExamineInfo) GetPartnerId() string {
 	if x != nil {
 		return x.PartnerId
 	}
-	return 0
+	return ""
 }
 
 func (x *ExamineInfo) GetNickname() string {
@@ -413,11 +413,11 @@ func (x *ExamineInfo) GetSex() int64 {
 	return 0
 }
 
-func (x *ExamineInfo) GetPid() string {
+func (x *ExamineInfo) GetPid() int64 {
 	if x != nil {
 		return x.Pid
 	}
-	return ""
+	return 0
 }
 
 type ExaminePartnerRequest struct {
@@ -1813,7 +1813,7 @@ var file_partner_proto_rawDesc = []byte{
 	0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xa7, 0x02, 0x0a, 0x11, 0x45, 0x78, 0x61,
 	0x6d, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c,
 	0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
-	0x03, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08,
+	0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08,
 	0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
 	0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74,
 	0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61,
@@ -1825,7 +1825,7 @@ var file_partner_proto_rawDesc = []byte{
 	0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08,
 	0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18,
 	0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69,
-	0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d,
+	0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d,
 	0x65, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20,
 	0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74,
 	0x75, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
@@ -1837,7 +1837,7 @@ var file_partner_proto_rawDesc = []byte{
 	0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74,
 	0x22, 0xeb, 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f,
 	0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
-	0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a,
+	0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a,
 	0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
 	0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76,
 	0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
@@ -1849,7 +1849,7 @@ var file_partner_proto_rawDesc = []byte{
 	0x0a, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09,
 	0x52, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65,
 	0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03,
-	0x70, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x4d,
+	0x70, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x4d,
 	0x0a, 0x15, 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
 	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e,
 	0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74,

+ 4 - 4
api/partner/partner.proto

@@ -456,14 +456,14 @@ message FindExamineRecordListReply{
   repeated ExamineRecordInfo list = 2;
 }
 message ExamineRecordInfo{
-  int64 partnerId = 1;// 接待员ID(number)
+  string partnerId = 1;// 接待员ID(string)
   string nickname = 2; // 昵称
   string avatarUrl = 3;// 头像
   string introduceVoice = 4;// 介绍语音的链接
   string signature = 5;// 介绍(签名)
   repeated string pictures = 6;// 相册(主页图片)
   int64 sex = 7;// 性别
-  string pid = 8;// 接待员ID(string)
+  int64 pid = 8;// 接待员ID(number)
   string examineStatus = 9;//审核状态
   int64 id = 10;//id
 }
@@ -474,14 +474,14 @@ message FindExamineListReply{
   repeated ExamineInfo list = 2;
 }
 message ExamineInfo{
-  int64 partnerId = 1;// 接待员ID(number)
+  string partnerId = 1;// 接待员ID(string)
   string nickname = 2; // 昵称
   string avatarUrl = 3;// 头像
   string introduceVoice = 4;// 介绍语音的链接
   string signature = 5;// 介绍(签名)
   repeated string pictures = 6;// 相册(主页图片)
   int64 sex = 7;// 性别
-  string pid = 8;// 接待员ID(string)
+  int64 pid = 8;// 接待员ID(number)
 }
 
 message ExaminePartnerRequest{

+ 8 - 8
js/api/partner/partner_pb.ts

@@ -10,8 +10,8 @@ export interface FindExamineRecordListReply{
     list?:Array<ExamineRecordInfo>;
 }
 export interface ExamineRecordInfo{
-    /**  接待员ID(number) */
-    partnerId?:number;
+    /**  接待员ID(string) */
+    partnerId?:string;
     /**  昵称 */
     nickname?:string;
     /**  头像 */
@@ -24,8 +24,8 @@ export interface ExamineRecordInfo{
     pictures?:Array<string>;
     /**  性别 */
     sex?:number;
-    /**  接待员ID(string) */
-    pid?:string;
+    /**  接待员ID(number) */
+    pid?:number;
     /** 审核状态 */
     examineStatus?:string;
     /** id */
@@ -36,8 +36,8 @@ export interface FindExamineListReply{
     list?:Array<ExamineInfo>;
 }
 export interface ExamineInfo{
-    /**  接待员ID(number) */
-    partnerId?:number;
+    /**  接待员ID(string) */
+    partnerId?:string;
     /**  昵称 */
     nickname?:string;
     /**  头像 */
@@ -50,8 +50,8 @@ export interface ExamineInfo{
     pictures?:Array<string>;
     /**  性别 */
     sex?:number;
-    /**  接待员ID(string) */
-    pid?:string;
+    /**  接待员ID(number) */
+    pid?:number;
 }
 export interface ExaminePartnerRequest{
     /**  接待员ID */