oa_based/src/modules/netdisk/netdisk.module.ts

26 lines
734 B
TypeScript
Raw Normal View History

2024-02-28 17:02:46 +08:00
import { Module } from '@nestjs/common';
2024-02-28 08:32:35 +08:00
2024-02-28 17:02:46 +08:00
import { RouterModule } from '@nestjs/core';
2024-02-28 08:32:35 +08:00
2024-02-28 17:02:46 +08:00
import { UserModule } from '../user/user.module';
2024-02-28 08:32:35 +08:00
2024-02-28 17:02:46 +08:00
import { NetDiskManageController } from './manager/manage.controller';
import { NetDiskManageService } from './manager/manage.service';
import { NetDiskOverviewController } from './overview/overview.controller';
import { NetDiskOverviewService } from './overview/overview.service';
2024-02-28 08:32:35 +08:00
@Module({
2024-02-28 17:02:46 +08:00
imports: [
UserModule,
RouterModule.register([
{
path: 'netdisk',
2024-02-29 09:29:03 +08:00
module: NetdiskModule
}
])
2024-02-28 17:02:46 +08:00
],
2024-02-28 08:32:35 +08:00
controllers: [NetDiskManageController, NetDiskOverviewController],
2024-02-29 09:29:03 +08:00
providers: [NetDiskManageService, NetDiskOverviewService]
2024-02-28 08:32:35 +08:00
})
export class NetdiskModule {}