mirror of
				https://github.com/bufanyun/hotgo.git
				synced 2025-11-04 16:23:43 +08:00 
			
		
		
		
	Merge branch 'v2.0' of https://github.com/bufanyun/hotgo into v2.0
This commit is contained in:
		@@ -245,7 +245,7 @@ func (s *sAdminNotice) PullMessages(ctx context.Context, in *adminin.PullMessage
 | 
			
		||||
		res.NoticeUnreadCountModel = unread
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if err = s.Model(ctx).WhereIn("id", messageIds).Limit(in.Limit).Order("id desc").Scan(&res.List); err != nil {
 | 
			
		||||
	if err = s.Model(ctx, &handler.Option{FilterAuth: false}).WhereIn("id", messageIds).Limit(in.Limit).Order("id desc").Scan(&res.List); err != nil {
 | 
			
		||||
		err = gerror.Wrap(err, consts.ErrorORM)
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user