mirror of
https://github.com/KwiTsukasa/kt-template-online-api.git
synced 2026-05-27 15:44:54 +08:00
fix: 文件引用路径修复
This commit is contained in:
parent
73c4429a52
commit
9240968c82
@ -17,7 +17,7 @@ import {
|
|||||||
ApiTags,
|
ApiTags,
|
||||||
PartialType,
|
PartialType,
|
||||||
} from '@nestjs/swagger';
|
} from '@nestjs/swagger';
|
||||||
import { ToolsService } from 'src/utils/tool.service';
|
import { ToolsService } from '@/utils/tool.service';
|
||||||
import { ComponentService } from './component.service';
|
import { ComponentService } from './component.service';
|
||||||
import { Component } from './component.entity';
|
import { Component } from './component.entity';
|
||||||
import { PaginatedDto } from '@/utils/constant';
|
import { PaginatedDto } from '@/utils/constant';
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import { TypeOrmModule } from '@nestjs/typeorm';
|
|||||||
import { ComponentController } from './component.controller';
|
import { ComponentController } from './component.controller';
|
||||||
import { ComponentService } from './component.service';
|
import { ComponentService } from './component.service';
|
||||||
import { Component } from './component.entity';
|
import { Component } from './component.entity';
|
||||||
import { ToolsService } from 'src/utils/tool.service';
|
import { ToolsService } from '@/utils/tool.service';
|
||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
imports: [TypeOrmModule.forFeature([Component])],
|
imports: [TypeOrmModule.forFeature([Component])],
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import { Injectable } from '@nestjs/common';
|
|||||||
import { InjectRepository } from '@nestjs/typeorm';
|
import { InjectRepository } from '@nestjs/typeorm';
|
||||||
import { Repository } from 'typeorm';
|
import { Repository } from 'typeorm';
|
||||||
import { Component } from './component.entity';
|
import { Component } from './component.entity';
|
||||||
import { ToolsService } from 'src/utils/tool.service';
|
import { ToolsService } from '@/utils/tool.service';
|
||||||
import { isNumber, omit, pick } from 'lodash';
|
import { isNumber, omit, pick } from 'lodash';
|
||||||
import { ComponentDto } from './component.dto';
|
import { ComponentDto } from './component.dto';
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { Controller, Get, HttpStatus, ParseIntPipe, Query, Res } from '@nestjs/common';
|
import { Controller, Get, HttpStatus, ParseIntPipe, Query, Res } from '@nestjs/common';
|
||||||
import { ToolsService } from 'src/utils/tool.service';
|
import { ToolsService } from '@/utils/tool.service';
|
||||||
import { DictService } from './dict.service';
|
import { DictService } from './dict.service';
|
||||||
import { ApiOperation, ApiQuery, ApiTags } from '@nestjs/swagger';
|
import { ApiOperation, ApiQuery, ApiTags } from '@nestjs/swagger';
|
||||||
import { ComponentTypeEnum, DictKeyEnum, DictKeyType } from '@/utils/constant';
|
import { ComponentTypeEnum, DictKeyEnum, DictKeyType } from '@/utils/constant';
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import { Module } from '@nestjs/common';
|
import { Module } from '@nestjs/common';
|
||||||
import { DictController } from './dict.controller';
|
import { DictController } from './dict.controller';
|
||||||
import { DictService } from './dict.service';
|
import { DictService } from './dict.service';
|
||||||
import { ToolsService } from 'src/utils/tool.service';
|
import { ToolsService } from '@/utils/tool.service';
|
||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
controllers: [DictController],
|
controllers: [DictController],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user