perf: 插件贡献文档及示例

This commit is contained in:
xiaojunnuo
2024-03-22 00:50:02 +08:00
parent d9efc3d4d8
commit 72fb20abf3
43 changed files with 890 additions and 22 deletions

View File

@@ -62,8 +62,8 @@ export class AccessController extends CrudController<AccessService> {
@Post('/define', { summary: Constants.per.authOnly })
async define(@Query('type') type) {
const provider = this.service.getDefineByType(type);
return this.ok(provider);
const access = this.service.getDefineByType(type);
return this.ok(access);
}
@Post('/accessTypeDict', { summary: Constants.per.authOnly })