4c38a9dd2b
增加hq管理端日志
18 lines
470 B
TypeScript
18 lines
470 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { APP_INTERCEPTOR } from '@nestjs/core';
|
|
import { HqOperationLogService } from './hq-operation-log.service';
|
|
import { HqOperationInterceptor } from './hq-operation.interceptor';
|
|
|
|
@Module({
|
|
providers: [
|
|
HqOperationLogService,
|
|
HqOperationInterceptor,
|
|
{
|
|
provide: APP_INTERCEPTOR,
|
|
useClass: HqOperationInterceptor,
|
|
},
|
|
],
|
|
exports: [HqOperationLogService],
|
|
})
|
|
export class HqOperationModule {}
|