wfz il y a 3 ans
Parent
commit
1029f6298b
4 fichiers modifiés avec 20 ajouts et 2 suppressions
  1. 12 2
      api/common/common.pb.go
  2. 1 0
      api/common/common.proto
  3. 5 0
      define/chat.go
  4. 2 0
      js/api/common/common_pb.ts

+ 12 - 2
api/common/common.pb.go

@@ -1575,6 +1575,7 @@ type PersonDB struct {
 	Signature           string   `protobuf:"bytes,12,opt,name=signature,proto3" json:"signature"`                      //介绍
 	IsFinishInformation bool     `protobuf:"varint,13,opt,name=isFinishInformation,proto3" json:"isFinishInformation"` //是否完善消息
 	TagList             []int64  `protobuf:"varint,14,rep,packed,name=tagList,proto3" json:"tagList"`                  // 标签列表
+	IdentifyId          string   `protobuf:"bytes,15,opt,name=identifyId,proto3" json:"identifyId"`                    // 身份ID
 }
 
 func (x *PersonDB) Reset() {
@@ -1707,6 +1708,13 @@ func (x *PersonDB) GetTagList() []int64 {
 	return nil
 }
 
+func (x *PersonDB) GetIdentifyId() string {
+	if x != nil {
+		return x.IdentifyId
+	}
+	return ""
+}
+
 type ScripIdRequest struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache
@@ -5773,7 +5781,7 @@ var file_common_proto_rawDesc = []byte{
 	0x44, 0x42, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x28, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18,
 	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
 	0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x52, 0x04, 0x6c, 0x69, 0x73,
-	0x74, 0x22, 0x90, 0x03, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x12, 0x0e,
+	0x74, 0x22, 0xb0, 0x03, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x44, 0x42, 0x12, 0x0e,
 	0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 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,
@@ -5798,7 +5806,9 @@ var file_common_proto_rawDesc = []byte{
 	0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x49,
 	0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61,
 	0x67, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x74, 0x61, 0x67,
-	0x4c, 0x69, 0x73, 0x74, 0x22, 0x2a, 0x0a, 0x0e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x64, 0x52,
+	0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79,
+	0x49, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
+	0x66, 0x79, 0x49, 0x64, 0x22, 0x2a, 0x0a, 0x0e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x64, 0x52,
 	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x49,
 	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x49, 0x64,
 	0x22, 0x41, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,

+ 1 - 0
api/common/common.proto

@@ -185,6 +185,7 @@ message PersonDB{
   string signature = 12;//介绍
   bool isFinishInformation = 13;//是否完善消息
   repeated int64 tagList = 14;// 标签列表
+  string identifyId = 15;// 身份ID
 }
 
 message ScripIdRequest {

+ 5 - 0
define/chat.go

@@ -2,6 +2,11 @@ package define
 
 import "git.ikuban.com/server/pw-protobuf/api/common"
 
+var (
+	MatchRelationRoom  = "room"
+	MatchRelationMatch = "match"
+)
+
 var (
 	TypeUserNew = "new" // 新客
 	TypeUserPay = "pay" // 付费

+ 2 - 0
js/api/common/common_pb.ts

@@ -259,6 +259,8 @@ export interface PersonDB{
     isFinishInformation?:boolean;
     /**  标签列表 */
     tagList?:Array<number>;
+    /**  身份ID */
+    identifyId?:string;
 }
 export interface ScripIdRequest{
     /**  纸条id */