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,
|
||||
PartialType,
|
||||
} from '@nestjs/swagger';
|
||||
import { ToolsService } from 'src/utils/tool.service';
|
||||
import { ToolsService } from '@/utils/tool.service';
|
||||
import { ComponentService } from './component.service';
|
||||
import { Component } from './component.entity';
|
||||
import { PaginatedDto } from '@/utils/constant';
|
||||
|
||||
@ -3,7 +3,7 @@ import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { ComponentController } from './component.controller';
|
||||
import { ComponentService } from './component.service';
|
||||
import { Component } from './component.entity';
|
||||
import { ToolsService } from 'src/utils/tool.service';
|
||||
import { ToolsService } from '@/utils/tool.service';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([Component])],
|
||||
|
||||
@ -2,7 +2,7 @@ import { Injectable } from '@nestjs/common';
|
||||
import { InjectRepository } from '@nestjs/typeorm';
|
||||
import { Repository } from 'typeorm';
|
||||
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 { ComponentDto } from './component.dto';
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
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 { ApiOperation, ApiQuery, ApiTags } from '@nestjs/swagger';
|
||||
import { ComponentTypeEnum, DictKeyEnum, DictKeyType } from '@/utils/constant';
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { DictController } from './dict.controller';
|
||||
import { DictService } from './dict.service';
|
||||
import { ToolsService } from 'src/utils/tool.service';
|
||||
import { ToolsService } from '@/utils/tool.service';
|
||||
|
||||
@Module({
|
||||
controllers: [DictController],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user