lrf 2 years ago
parent
commit
690e093156
2 changed files with 2 additions and 1 deletions
  1. 1 0
      .npmrc
  2. 1 1
      src/service/BaseService.ts

+ 1 - 0
.npmrc

@@ -0,0 +1 @@
+registry=https://registry.npmjs.org/

+ 1 - 1
src/service/BaseService.ts

@@ -5,7 +5,7 @@ import { App, Inject } from '@midwayjs/decorator';
 import _ = require('lodash');
 import { FrameworkErrorEnum, ServiceError } from '../error/service.error';
 import { GetModel } from '../util/getModel';
-import { SearchBase } from '../../dist';
+import { SearchBase } from '../interface/SearchBase';
 import { pageOptions, resultOptions } from './options';
 /**
  * Service基类,实现了一些基础的crud