fix: base service bug

This commit is contained in:
xiaojunnuo
2023-05-01 21:53:28 +08:00
parent 0a946f55ca
commit 0fca7dc3ce
2 changed files with 3 additions and 7 deletions

View File

@@ -1,10 +1,7 @@
import { ALL, Body, Post, Query } from '@midwayjs/decorator';
import { BaseService } from './base-service';
import { BaseController } from './base-controller';
import { ALL, Body, Post, Query } from "@midwayjs/decorator";
import { BaseController } from "./base-controller";
export abstract class CrudController<
T extends BaseService
> extends BaseController {
export abstract class CrudController extends BaseController {
abstract getService();
@Post('/page')