mirror of
https://github.com/apgzs/cool-admin-api.git
synced 2025-04-06 03:58:06 +08:00
新增示例
This commit is contained in:
parent
dd6b8e0675
commit
b30de5576e
@ -6,6 +6,6 @@ import { Context } from 'egg';
|
|||||||
export default class User extends BaseController {
|
export default class User extends BaseController {
|
||||||
constructor (ctx: Context) {
|
constructor (ctx: Context) {
|
||||||
super(ctx);
|
super(ctx);
|
||||||
this.setEntity(this.ctx.repo.sys.User);
|
this.setEntity(this.ctx.repo.User);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user