This commit is contained in:
xiaojunnuo
2024-12-03 00:55:37 +08:00
parent febe87508c
commit 393ea27fa4
5 changed files with 29 additions and 4 deletions

View File

@@ -127,4 +127,8 @@ export class PluginService extends BaseService<PluginEntity> {
}
throw new Error('参数错误: id 和 name 必须有一个');
}
async getDefineByType(type: string) {
return this.builtInPluginService.getByType(type);
}
}