fix(mpc-service): 注册DistributedLockService到InfrastructureModule

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-21 19:28:18 -08:00
parent 10b25e222e
commit b1508f1a5a
1 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,9 @@ import { EventConsumerService } from './messaging/kafka/event-consumer.service';
import { BackupClientService } from './external/backup';
import { BlockchainClientService } from './external/blockchain';
// Redis
import { DistributedLockService } from './redis/lock/distributed-lock.service';
@Global()
@Module({
imports: [
@ -43,6 +46,9 @@ import { BlockchainClientService } from './external/blockchain';
// External Services
BackupClientService,
BlockchainClientService,
// Redis (分布式锁)
DistributedLockService,
],
exports: [
PrismaService,
@ -50,6 +56,7 @@ import { BlockchainClientService } from './external/blockchain';
EventConsumerService,
BackupClientService,
BlockchainClientService,
DistributedLockService,
],
})
export class InfrastructureModule {}