ผูก menu กับ redis
This commit is contained in:
parent
1e3699b049
commit
73ae3210dc
8 changed files with 164 additions and 119 deletions
|
|
@ -75,9 +75,9 @@ export class AuthRoleAttr extends EntityBase {
|
|||
})
|
||||
parentNode?: string;
|
||||
|
||||
// @ManyToOne(() => AuthSys, (authSys) => authSys)
|
||||
// @JoinColumn({ name: "authSysId" })
|
||||
// authRoleAttrForSys: AuthSys;
|
||||
@ManyToOne(() => AuthSys, (authSys) => authSys.authRoleAttrs)
|
||||
@JoinColumn({ name: "authSysId" })
|
||||
authRoleAttrForSys: AuthSys;
|
||||
|
||||
@ManyToOne(() => AuthRole, (authRole) => authRole.authRoles)
|
||||
@JoinColumn({ name: "authRoleId" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue