egg-controller
Advanced tools
Comparing version 0.1.23 to 0.1.24
@@ -14,5 +14,5 @@ "use strict"; | ||
} | ||
app.ready(() => { | ||
app.beforeStart(() => { | ||
register_1.registerRoute(app); | ||
}); | ||
}; |
@@ -10,3 +10,2 @@ "use strict"; | ||
const param_1 = require("./param"); | ||
const appctx_1 = require("egg-aop/lib/appctx"); | ||
let defaultMiddleware = []; | ||
@@ -102,4 +101,2 @@ function addDefaultMiddleware(middleware) { | ||
const ctrl = egg_aop_1.getInstance(CtrlType, ctx.app, ctx); | ||
appctx_1.setCtx(ctrl, ctx); | ||
appctx_1.setApp(ctrl, ctx.app); | ||
const args = yield param_1.getParamData(ctx, typeInfo); | ||
@@ -106,0 +103,0 @@ try { |
{ | ||
"name": "egg-controller", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"description": "controller for egg.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43616
1031