wfz 3 yıl önce
ebeveyn
işleme
2e2b7ca78f
3 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. 3 3
      api/user/user.pb.go
  2. 1 1
      api/user/user.proto
  3. 1 1
      js/api/user/user_pb.ts

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

@@ -328,7 +328,7 @@ type UserChatInfo struct {
 	LastTime    int64  `protobuf:"varint,5,opt,name=lastTime,proto3" json:"lastTime"`       // 上次发送时间
 	Likeability int64  `protobuf:"varint,6,opt,name=likeability,proto3" json:"likeability"` // 好感度
 	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"`                // 年龄
 	RoomId      int64  `protobuf:"varint,12,opt,name=roomId,proto3" json:"roomId"`          // 房间号ID
@@ -686,8 +686,8 @@ var file_user_proto_rawDesc = []byte{
 	0x65, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
 	0x6c, 0x69, 0x6b, 0x65, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 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, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
+	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, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f,

+ 1 - 1
api/user/user.proto

@@ -239,7 +239,7 @@ message UserChatInfo{
   int64 lastTime = 5;// 上次发送时间
   int64 likeability = 6;// 好感度
   int64 sex = 8;// 性别
-  string AvatarUrl = 9;// 头像
+  string avatarUrl = 9;// 头像
   string nickname = 10;// 昵称
   int64 age = 11;// 年龄
   int64 roomId = 12;// 房间号ID

+ 1 - 1
js/api/user/user_pb.ts

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