refactor: 移除未使用的导入和注释掉的生命周期钩子
This commit is contained in:
parent
ba1c6aafd6
commit
f1c809bfd2
|
|
@ -1,8 +1,8 @@
|
||||||
import { ApiProperty } from '@midwayjs/swagger';
|
import { ApiProperty } from '@midwayjs/swagger';
|
||||||
import { Exclude, Expose } from 'class-transformer';
|
import { Exclude, Expose } from 'class-transformer';
|
||||||
import {
|
import {
|
||||||
BeforeInsert,
|
// BeforeInsert,
|
||||||
BeforeUpdate,
|
// BeforeUpdate,
|
||||||
Column,
|
Column,
|
||||||
CreateDateColumn,
|
CreateDateColumn,
|
||||||
Entity,
|
Entity,
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@ import * as path from 'path';
|
||||||
import * as os from 'os';
|
import * as os from 'os';
|
||||||
import { UnifiedOrderDTO } from '../dto/site-api.dto';
|
import { UnifiedOrderDTO } from '../dto/site-api.dto';
|
||||||
import { CustomerService } from './customer.service';
|
import { CustomerService } from './customer.service';
|
||||||
import { DictItem } from '../entity/dict_item.entity';
|
|
||||||
import { ProductService } from './product.service';
|
import { ProductService } from './product.service';
|
||||||
@Provide()
|
@Provide()
|
||||||
export class OrderService {
|
export class OrderService {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue