浏览代码

修改字段

wfz 3 年之前
父节点
当前提交
739126632a
共有 3 个文件被更改,包括 5 次插入5 次删除
  1. 3 3
      api/chat/chat.pb.go
  2. 1 1
      api/chat/chat.proto
  3. 1 1
      js/api/chat/chat_pb.ts

+ 3 - 3
api/chat/chat.pb.go

@@ -381,7 +381,7 @@ type PartnerRoomInfo struct {
 	Benefit       int64  `protobuf:"varint,6,opt,name=benefit,proto3" json:"benefit"`             // 收益
 	Type          string `protobuf:"bytes,7,opt,name=type,proto3" json:"type"`                    // 类型(新客:new,付费:pay)
 	Sex           int64  `protobuf:"varint,8,opt,name=sex,proto3" json:"sex"`                     // 性别
-	AvatarUrl     string `protobuf:"bytes,9,opt,name=AvatarUrl,proto3" json:"AvatarUrl"`          // 头像
+	AvatarUrl     string `protobuf:"bytes,9,opt,name=avatarUrl,proto3" json:"avatarUrl"`          // 头像
 	Nickname      string `protobuf:"bytes,10,opt,name=nickname,proto3" json:"nickname"`           // 昵称
 	Age           int64  `protobuf:"varint,11,opt,name=age,proto3" json:"age"`                    // 年龄
 }
@@ -876,8 +876,8 @@ var file_chat_proto_rawDesc = []byte{
 	0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x65, 0x6e, 0x65, 0x66, 0x69,
 	0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
 	0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01,
-	0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x76, 0x61, 0x74, 0x61,
-	0x72, 0x55, 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x41, 0x76, 0x61, 0x74,
+	0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61,
+	0x72, 0x55, 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74,
 	0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
 	0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
 	0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,

+ 1 - 1
api/chat/chat.proto

@@ -69,7 +69,7 @@ message PartnerRoomInfo{
   int64 benefit = 6;// 收益
   string type = 7;// 类型(新客:new,付费:pay)
   int64 sex = 8;// 性别
-  string AvatarUrl = 9;// 头像
+  string avatarUrl = 9;// 头像
   string nickname = 10;// 昵称
   int64 age = 11;// 年龄
 }

+ 1 - 1
js/api/chat/chat_pb.ts

@@ -54,7 +54,7 @@ export interface PartnerRoomInfo{
     /**  性别 */
     sex?:number;
     /**  头像 */
-    AvatarUrl?:string;
+    avatarUrl?:string;
     /**  昵称 */
     nickname?:string;
     /**  年龄 */