Browse Source

装饰器缺少引用

lrf 1 year ago
parent
commit
777a28e78b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/controller/role.controller.ts

+ 1 - 0
src/controller/role.controller.ts

@@ -6,6 +6,7 @@ import { ApiOperation, ApiResponse, ApiTags, ApiQuery } from '@midwayjs/swagger'
 import { Validate } from '@midwayjs/validate';
 import { MenusService } from '../service/menus.service';
 import get = require('lodash/get');
+import { verifyToken } from '../decorator/verifyToken.decorator';
 @ApiTags(['角色'])
 @Controller('/role')
 export class RoleController extends BaseController {