perf: 优化access授权支持remote-auto-complete

This commit is contained in:
xiaojunnuo
2026-02-09 19:19:26 +08:00
parent 02f89a9c9d
commit 2f40f795ee
3 changed files with 39 additions and 19 deletions
@@ -53,6 +53,7 @@ export class HandleController extends BaseController {
const accessGetter = new AccessGetter(userId, this.accessService.getById.bind(this.accessService));
const access = await newAccess(body.typeName, inputAccess,accessGetter);
mergeUtils.merge(access, body.input);
const res = await access.onRequest(body);
return this.ok(res);