1d47fb1a1d
- Removed the PosGoodFavorite module, controller, and service to simplify the codebase. - Updated goods service to handle cache invalidation directly. - Refactored goods controller to remove commented-out code and improve clarity. - Introduced OwnedGoods module for better organization of owned goods functionality. - Updated DTOs to extend from existing structures for consistency. - Enhanced cache invalidation logic in goods service and owned goods service.
13 lines
450 B
TypeScript
13 lines
450 B
TypeScript
import { UploaderModule } from '@/modules/uploader/uploader.module'
|
|
import { PrismaService } from '@/prisma/prisma.service'
|
|
import { Module } from '@nestjs/common'
|
|
import { OwnedGoodsController } from './owned-goods.controller'
|
|
import { OwnedGoodsService } from './owned-goods.service'
|
|
|
|
@Module({
|
|
controllers: [OwnedGoodsController],
|
|
providers: [OwnedGoodsService, PrismaService],
|
|
imports: [UploaderModule],
|
|
})
|
|
export class OwnedGoodsModule {}
|