create license management

This commit is contained in:
2026-04-06 13:31:40 +03:30
parent c02e7afca1
commit 1160d81cdb
42 changed files with 1233 additions and 522 deletions
+11 -2
View File
@@ -1,6 +1,15 @@
import { Controller } from '@nestjs/common'
import { ConsumerInfoInfo } from '@/common/decorators/consumerInfo.decorator'
import { Controller, Get } from '@nestjs/common'
import { ApiTags } from '@nestjs/swagger'
import { ConsumerService } from './consumer.service'
@ApiTags('Consumer')
@Controller('consumer')
export class ConsumerController {}
export class ConsumerController {
constructor(private service: ConsumerService) {}
@Get('')
async findOne(@ConsumerInfoInfo('user_id') userId: string) {
return this.service.getInfo(userId)
}
}