perf: 优化vke keubconfig获取方式,改成先查询,如果没有再创建临时config

This commit is contained in:
xiaojunnuo
2026-07-15 23:01:32 +08:00
parent 7ed1be994f
commit 604fa5be63
4 changed files with 85 additions and 84 deletions
@@ -95,6 +95,10 @@ export abstract class BaseNotification implements INotification {
}
async doSend(body: NotificationBody) {
if (body.content) {
const content = body.content?.replace(/\n/g, " \n");
body.content = content;
}
return await this.send(body);
}
abstract send(body: NotificationBody): Promise<void>;