UNPKG

ts-api-core

Version:

Nodejs api framework core

18 lines 801 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseRouteExecuteController = void 0; const base_route_execute_wrapper_1 = require("../wrapper/base.route.execute.wrapper"); const base_route_raw_controller_1 = require("./base.route.raw.controller"); /** ExecuteWrapper 类型请求 Controller */ class BaseRouteExecuteController extends base_route_raw_controller_1.BaseRouteRawController { canExecuteWrapper(context) { return true; } /** 获取 Wrapper */ getWrapper(context) { const wrapper = new base_route_execute_wrapper_1.BaseRouteExecuteWrapper(context); return wrapper; } } exports.BaseRouteExecuteController = BaseRouteExecuteController; //# sourceMappingURL=base.route.execute.controller.js.map