|
@@ -2,6 +2,7 @@ import { IMiddleware } from '@midwayjs/core';
|
|
|
import { Middleware, App } from '@midwayjs/decorator';
|
|
|
import { NextFunction, Context, Application } from '@midwayjs/koa';
|
|
|
import { VOBase } from '../interface/VOBase';
|
|
|
+import _ = require('lodash');
|
|
|
@Middleware()
|
|
|
export class ResponseMiddleware implements IMiddleware<Context, NextFunction> {
|
|
|
@App()
|