From 46f410ae18f22f5e9a8368f0ea7c721863d18fce Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期三, 02 八月 2023 17:22:35 +0800
Subject: [PATCH] fix

---
 model/contact.go |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/model/contact.go b/model/contact.go
index 3fc6048..abadcea 100644
--- a/model/contact.go
+++ b/model/contact.go
@@ -168,4 +168,8 @@
 func (slf *ContactSearch) SetOrder(order string) *ContactSearch {
 	slf.OrderBy = order
 	return slf
-}
\ No newline at end of file
+}
+func (slf *ContactSearch) SetIds(ids []int) *ContactSearch {
+	slf.Orm = slf.Orm.Where("id in (?)", ids)
+	return slf
+}

--
Gitblit v1.8.0