module.exports = app => {
return class UserController extends app.Controller {
* fetch() {
this.ctx.body = app.cache.get(this.ctx.query.id);
}
};
};
这里“*”代表什么意思
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
module.exports = app => {
return class UserController extends app.Controller {
* fetch() {
this.ctx.body = app.cache.get(this.ctx.query.id);
}
};
};