feat: 接入天河链存证接口
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Global, Module } from '@nestjs/common';
|
||||
import { BullModule } from '@nestjs/bullmq';
|
||||
import { QUEUE_NAMES } from '@artveris/shared';
|
||||
import { SettingsModule } from '../settings/settings.module';
|
||||
import { BlockchainService } from './blockchain.service';
|
||||
import { AttestationService } from './attestation.service';
|
||||
import { BlockchainController } from './blockchain.controller';
|
||||
@@ -8,7 +9,7 @@ import { OnchainProcessor } from './onchain.processor';
|
||||
|
||||
@Global()
|
||||
@Module({
|
||||
imports: [BullModule.registerQueue({ name: QUEUE_NAMES.ONCHAIN })],
|
||||
imports: [BullModule.registerQueue({ name: QUEUE_NAMES.ONCHAIN }), SettingsModule],
|
||||
controllers: [BlockchainController],
|
||||
providers: [BlockchainService, AttestationService, OnchainProcessor],
|
||||
exports: [BlockchainService, AttestationService],
|
||||
|
||||
Reference in New Issue
Block a user