yutent 2023-10-24 18:30:27 +08:00
parent 3eb89216ef
commit b7747e4db2
1 changed files with 0 additions and 7 deletions

View File

@ -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) {