diff --git a/index.js b/index.js index 51f294d..30f2cff 100644 --- a/index.js +++ b/index.js @@ -5,13 +5,6 @@ */ export default class Controller { - // 初始化方法, 取代原先的构造方法 - __f_i_v_e__(ctx, req, res) { - this.context = ctx - this.name = req.app - this.request = req - this.response = res - } // 定义一个模板变量 assign(key, val) {