chore: stabilize lint and verify builds

This commit is contained in:
2026-02-06 11:51:32 +08:00
parent edede17880
commit 1782f64417
114 changed files with 3032 additions and 1345 deletions

View File

@@ -71,6 +71,7 @@ func (s *notification) MarkRead(ctx context.Context, tenantID, userID, id int64)
if err != nil {
return errorx.ErrDatabaseError.WithCause(err)
}
return nil
}
@@ -84,6 +85,7 @@ func (s *notification) MarkAllRead(ctx context.Context, tenantID, userID int64)
if err != nil {
return errorx.ErrDatabaseError.WithCause(err)
}
return nil
}
@@ -108,7 +110,9 @@ func (s *notification) Send(ctx context.Context, tenantID, userID int64, typ, ti
if err := models.NotificationQuery.WithContext(ctx).Create(n); err != nil {
return errorx.ErrDatabaseError.WithCause(err)
}
return nil
}
return s.job.Add(arg)
}