pull/409/head
xiaojunnuo 2025-05-15 18:08:50 +08:00
parent 09779cd1e1
commit e77f7244ba
2 changed files with 3258 additions and 4402 deletions

View File

@ -254,6 +254,9 @@ export class PluginService extends BaseService<PluginEntity> {
}).constructor;
// const script = await this.compile(plugin.content);
const script = plugin.content;
const {MaoyunClient} = await import("@certd/plugin-plus")
const a :any ={}
new MaoyunClient(a)
const getPluginClass = new AsyncFunction(script);
return await getPluginClass({logger: logger});
} catch (e) {

File diff suppressed because it is too large Load Diff