mirror of
https://github.com/certd/certd.git
synced 2026-07-09 22:47:38 +08:00
chore: 火山vod 上传后等待3秒
This commit is contained in:
@@ -281,12 +281,12 @@ export class DemoTest extends AbstractTaskPlugin {
|
||||
return {
|
||||
value: item.siteName,
|
||||
label: item.siteName,
|
||||
domain: item.siteName,
|
||||
domain: item.siteName, //这里必须要包含domain 否则后面分组时候全部分配到未匹配中
|
||||
};
|
||||
});
|
||||
//将站点域名名称根据证书域名进行匹配分组,分成匹配的和不匹配的两组选项,返回给前端,供用户选择
|
||||
return {
|
||||
list: optionsUtils.buildGroupOptions(options, this.certDomains),
|
||||
list: optionsUtils.buildGroupOptions(options, this.certDomains), //分组后的列表
|
||||
total: siteRes.length,
|
||||
};
|
||||
}
|
||||
|
||||
+2
-1
@@ -108,7 +108,7 @@ export class VolcengineDeployToVOD extends AbstractTaskPlugin {
|
||||
|
||||
const access = await this.getAccess<VolcengineAccess>(this.accessId);
|
||||
const certId = await this.uploadOrGetCertId(access);
|
||||
|
||||
await this.ctx.utils.sleep(3000);
|
||||
const domainTypeMapping: Record<string, string> = {
|
||||
play: "vod_play",
|
||||
image: "vod_image",
|
||||
@@ -243,6 +243,7 @@ export class VolcengineDeployToVOD extends AbstractTaskPlugin {
|
||||
return {
|
||||
value: item.Domain,
|
||||
label: item.Domain,
|
||||
domain : item.Domain,
|
||||
};
|
||||
});
|
||||
return this.ctx.utils.options.buildGroupOptions(list, this.certDomains);
|
||||
|
||||
Reference in New Issue
Block a user