perf: 部署到阿里云任意云资源,阿里云部署大杀器

This commit is contained in:
xiaojunnuo
2024-10-24 17:50:42 +08:00
parent 98ef9aa479
commit 4075be7849
4 changed files with 6 additions and 4 deletions
@@ -1,7 +1,6 @@
import { TencentAccess } from '@certd/plugin-plus';
import { CertInfo } from '@certd/plugin-cert';
import { ILogger } from '@certd/pipeline';
import sdk from 'tencentcloud-sdk-nodejs/tencentcloud/services/ssl/v20191205/index.js';
export class TencentSslClient {
access: TencentAccess;
logger: ILogger;
@@ -12,7 +11,7 @@ export class TencentSslClient {
this.region = opts.region;
}
async getSslClient(): Promise<any> {
// const sdk = await import('tencentcloud-sdk-nodejs/tencentcloud/services/ssl/v20191205/index.js');
const sdk = await import('tencentcloud-sdk-nodejs/tencentcloud/services/ssl/v20191205/index.js');
const SslClient = sdk.v20191205.Client;
const clientConfig = {