mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
log update
This commit is contained in:
parent
4680b1e6be
commit
cb4b41476b
@ -33,7 +33,7 @@ func (u *UserGorm) Update(ctx context.Context, users []*relation.UserModel) (err
|
||||
|
||||
// 获取指定用户信息 不存在,也不返回错误
|
||||
func (u *UserGorm) Find(ctx context.Context, userIDs []string) (users []*relation.UserModel, err error) {
|
||||
log.ZDebug(ctx, "userIDs", userIDs)
|
||||
log.ZDebug(ctx, "Find args", "userIDs", userIDs)
|
||||
err = utils.Wrap(u.DB.Where("user_id in ?", userIDs).Find(&users).Error, "")
|
||||
return users, err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user