Browse Source

临时提交

boweniac 6 days ago
parent
commit
024012aa21
3 changed files with 37 additions and 3 deletions
  1. 23 1
      desc/wechat/label_relationship.api
  2. 1 1
      internal/handler/routes.go
  3. 13 1
      internal/types/types.go

+ 23 - 1
desc/wechat/label_relationship.api

@@ -123,6 +123,8 @@ type (
         // Status 1: normal 2: ban | 状态 1 正常 2 禁用
         Status  *uint8 `json:"status,optional"`
 
+
+
         // 标签 ID
         LabelId  *uint64 `json:"labelId,optional"`
 
@@ -176,12 +178,32 @@ type (
         BaseListInfo
 
         // The API list data | LabelRelationship列表数据
-        Data  []LabelRelationshipInfo  `json:"data"`
+        Data  []ContactInfo  `json:"data"`
     }
 
     // Get label relationship list request params | LabelRelationship列表请求参数
     LabelRelationshipListReq {
         PageInfo
+
+        // 内容类型:1-个微 3-企微
+        Ctype *uint64 `json:"ctype,optional"`
+
+        // 属主微信id
+        WxWxid  *string `json:"wxWxid,optional"`
+
+        // 联系人类型:1好友,2群组,3公众号,4企业微信联系人
+        Type  *int `json:"type,optional"`
+
+        // 微信id 公众号微信ID
+        Wxid  *string `json:"wxid,optional"`
+
+        // Label ID list | 标签ID列表
+        LabelIDs []uint64 `json:"labelIDs,optional"`
+
+        //标签搜索开始结束日期
+        SearchDate []*string `json:"date,optional"`
+
+
     }
 
     // LabelRelationship information response | LabelRelationship信息返回体

+ 1 - 1
internal/handler/routes.go

@@ -1,5 +1,5 @@
 // Code generated by goctl. DO NOT EDIT.
-// goctls v1.10.4
+// goctls v1.10.1
 
 package handler
 

+ 13 - 1
internal/types/types.go

@@ -907,13 +907,25 @@ type LabelRelationshipListResp struct {
 type LabelRelationshipListInfo struct {
 	BaseListInfo
 	// The API list data | LabelRelationship列表数据
-	Data []LabelRelationshipInfo `json:"data"`
+	Data []ContactInfo `json:"data"`
 }
 
 // Get label relationship list request params | LabelRelationship列表请求参数
 // swagger:model LabelRelationshipListReq
 type LabelRelationshipListReq struct {
 	PageInfo
+	// 内容类型:1-个微 3-企微
+	Ctype *uint64 `json:"ctype,optional"`
+	// 属主微信id
+	WxWxid *string `json:"wxWxid,optional"`
+	// 联系人类型:1好友,2群组,3公众号,4企业微信联系人
+	Type *int `json:"type,optional"`
+	// 微信id 公众号微信ID
+	Wxid *string `json:"wxid,optional"`
+	// Label ID list | 标签ID列表
+	LabelIDs []uint64 `json:"labelIDs,optional"`
+	//标签搜索开始结束日期
+	SearchDate []*string `json:"date,optional"`
 }
 
 // LabelRelationship information response | LabelRelationship信息返回体