add address book name &
add share address book
This commit is contained in:
1 parent
e833c0e0c0
commit
8ee93b530d
32 files changed
+2927
-124
No files matched your search
@@ -101,6 +101,11 @@ func (us *UserService) List(page, pageSize uint, where func(tx *gorm.DB)) (res *
|
||||
return
|
||||
}
|
||||
|
||||
func (us *UserService) ListByIds(ids []uint) (res []*model.User) {
|
||||
global.DB.Where("id in ?", ids).Find(&res)
|
||||
return res
|
||||
}
|
||||
|
||||
// ListByGroupId 根据组id取用户列表
|
||||
func (us *UserService) ListByGroupId(groupId, page, pageSize uint) (res *model.UserList) {
|
||||
res = us.List(page, pageSize, func(tx *gorm.DB) {
|
||||
|
||||
Reference in new issue
Block a user