- 基于 NestJS + TypeScript + MySQL + Redis 架构 - 完整的模块化设计(认证、用户、小组、游戏、预约等) - JWT 认证和 RBAC 权限控制系统 - Docker 容器化部署支持 - 添加 CLAUDE.md 项目开发指南 - 配置 .gitignore 忽略文件 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
10 lines
224 B
TypeScript
10 lines
224 B
TypeScript
import { Module, Global } from '@nestjs/common';
|
|
import { CacheService } from './services/cache.service';
|
|
|
|
@Global()
|
|
@Module({
|
|
providers: [CacheService],
|
|
exports: [CacheService],
|
|
})
|
|
export class CommonModule {}
|