This commit is contained in:
COOL 2022-03-27 12:02:33 +08:00
parent 7d74e3c56a
commit ca038a4141
2 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,7 @@
"mini-svg-data-uri": "^1.4.4",
"mysql2": "^2.3.3",
"svg-captcha": "^1.4.0",
"typeorm": "^0.3.3"
"typeorm": "0.2.45"
},
"devDependencies": {
"@midwayjs/cli": "^1.3.1",

View File

@ -30,6 +30,9 @@ export class BaseSysRoleService extends BaseService {
@Inject()
baseSysPermsService: BaseSysPermsService;
@Inject()
ctx;
/**
* ID获得所有用户角色
* @param userId