From dd19afce928a7f36312af9df1e7e5ed3eb1e214a Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Wed, 17 Dec 2025 10:02:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E5=88=B0=E5=8D=8E=E4=B8=BAobs=20=E6=8A=A5=E9=94=99=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/guide/use/baota/white_list.md | 2 +- .../plugin-huawei/plugins/deploy-to-obs/index.ts | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/guide/use/baota/white_list.md b/docs/guide/use/baota/white_list.md index 778e225d3..b538744d2 100644 --- a/docs/guide/use/baota/white_list.md +++ b/docs/guide/use/baota/white_list.md @@ -17,7 +17,7 @@ > 如果出现过: 100.25.1.5 , 100.25.4.8 > -> 可以尝试配置 100.25.*.5 +> 可以尝试配置 100.25.*.* ## 二、nginx代理方案 diff --git a/packages/ui/certd-server/src/plugins/plugin-huawei/plugins/deploy-to-obs/index.ts b/packages/ui/certd-server/src/plugins/plugin-huawei/plugins/deploy-to-obs/index.ts index 02f596fc6..83bff77f6 100644 --- a/packages/ui/certd-server/src/plugins/plugin-huawei/plugins/deploy-to-obs/index.ts +++ b/packages/ui/certd-server/src/plugins/plugin-huawei/plugins/deploy-to-obs/index.ts @@ -170,13 +170,15 @@ export class HauweiDeployCertToOBS extends AbstractTaskPlugin { const params:any = { Bucket: bucket, DomainName: domain, - Name: this.buildCertName( domain) + DomainBody:{ + Name: this.buildCertName( domain), + } }; if (typeof cert === 'string'){ - params.CertificateId= cert + params.DomainBody.CertificateId= cert }else{ - params.Certificate= cert.crt - params.PrivateKey = cert.key + params.DomainBody.Certificate= cert.crt + params.DomainBody.PrivateKey = cert.key } const res = await obsClient.setBucketCustomDomain(params) this.checkRet(res)