/**
 * 优化模块统一导出
 * 包含：OSS、Redis、队列、日志、限流、缓存
 */

// OSS 云存储
export { ossService } from './oss.service';

// Redis 缓存
export { redisService } from './redis.service';

// 任务队列（已弃用，改为数据库驱动）

// 日志系统
export { log, httpLogger } from './logger.service';
export { default as logger } from './logger.service';

// 限流中间件
export { 
  createRateLimiter,
  apiRateLimiter,
  loginRateLimiter,
  smsRateLimiter,
  ttsRateLimiter,
  uploadRateLimiter,
} from '../middleware/rate-limiter';

// 缓存中间件
export {
  createCache,
  clearCache,
  userCache,
  voiceListCache,
  bookDetailCache,
  hotBooksCache,
  memberBenefitsCache,
} from '../middleware/cache';
