|
@@ -132,6 +132,17 @@ type (
|
|
|
ContactId *uint64 `json:"contactId,optional"`
|
|
|
}
|
|
|
|
|
|
+ BatchLabelRelationshipsInfo {
|
|
|
+ // 更新类型:为1 时表示增加标签,为 -1 时表示移除标签
|
|
|
+ UpdateType int `json:"updateType,optional"`
|
|
|
+
|
|
|
+ // 标签 ID
|
|
|
+ LabelIds []uint64 `json:"labelIds,optional"`
|
|
|
+
|
|
|
+ // 联系人 ID
|
|
|
+ ContactIds []uint64 `json:"contactIds,optional"`
|
|
|
+ }
|
|
|
+
|
|
|
// The response data of label relationship list | LabelRelationship列表数据
|
|
|
LabelRelationshipListResp {
|
|
|
BaseDataInfo
|
|
@@ -181,6 +192,10 @@ service Wechat {
|
|
|
@handler updateLabelRelationships
|
|
|
post /label_relationship/update_contact_labels (LabelRelationshipsInfo) returns (BaseMsgResp)
|
|
|
|
|
|
+ // Batch Update label relationships information | 批量更新联系人所有 LabelRelationship
|
|
|
+ @handler batchUpdateLabelRelationships
|
|
|
+ post /label_relationship/Batch_update_contact_labels (BatchLabelRelationshipsInfo) returns (BaseMsgResp)
|
|
|
+
|
|
|
// Delete label relationship information | 删除LabelRelationship信息
|
|
|
@handler deleteLabelRelationship
|
|
|
post /label_relationship/delete (IDsReq) returns (BaseMsgResp)
|