add batch add ab from peer

add batch update ab tags
This commit is contained in:
lejianwen
2024-12-06 19:45:41 +08:00
parent cd74cd19ef
commit 8c0ac5621a
4 changed files with 101 additions and 0 deletions

View File

@@ -122,3 +122,13 @@ type AddressBookCollectionRuleQuery struct {
IsMy int `form:"is_my"`
PageQuery
}
type BatchCreateFromPeersForm struct {
CollectionId uint `json:"collection_id"`
PeerIds []uint `json:"peer_ids"`
Tags []string `json:"tags"`
}
type BatchUpdateTagsForm struct {
RowIds []uint `json:"row_ids"`
Tags []string `json:"tags"`
}