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

23 lines
708 B
TypeScript
Raw Normal View History

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