新增示例

This commit is contained in:
啊平 2019-09-29 11:37:48 +08:00
parent dd6b8e0675
commit b30de5576e

View File

@ -6,6 +6,6 @@ import { Context } from 'egg';
export default class User extends BaseController {
constructor (ctx: Context) {
super(ctx);
this.setEntity(this.ctx.repo.sys.User);
this.setEntity(this.ctx.repo.User);
}
}