From 78e7a81638c2ee779f0ab6c3ba7e5c6f6e064151 Mon Sep 17 00:00:00 2001 From: SHAREWEBS Date: Mon, 25 Aug 2025 16:30:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E6=88=91=E7=88=B1?= =?UTF-8?q?=E4=BA=91CDN=E5=9F=9F=E5=90=8D=E5=9C=B0=E5=9D=80=EF=BC=8C?= =?UTF-8?q?=E5=92=8C=E9=83=A8=E5=88=86=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84?= =?UTF-8?q?=20@tyjsjxh=20=20(#514)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新我爱云CDN域名地址,和部分目录结构 --- .../plugins/plugin-woai/plugins/plugin-deploy-to-cdn.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/ui/certd-server/src/plugins/plugin-woai/plugins/plugin-deploy-to-cdn.ts b/packages/ui/certd-server/src/plugins/plugin-woai/plugins/plugin-deploy-to-cdn.ts index e0db45a9..0aa82bc9 100644 --- a/packages/ui/certd-server/src/plugins/plugin-woai/plugins/plugin-deploy-to-cdn.ts +++ b/packages/ui/certd-server/src/plugins/plugin-woai/plugins/plugin-deploy-to-cdn.ts @@ -17,14 +17,14 @@ import { CertApplyPluginNames} from '@certd/plugin-cert'; export class WoaiCdnPlugin extends AbstractTaskPlugin { @TaskInput({ title: '接口地址(可留空)', - helper: '请填写我爱云的地址, 默认为 [API](https://console.edeg.sxhjgy.cn) 末尾请不要携带`/`', + helper: '请填写我爱云的地址, 默认为 [API](https://console.edge.ttzi.cn) 末尾请不要携带`/`', component: { name: 'a-input' }, required: false, }) baseApi?: string; @TaskInput({ title: '证书ID', - helper: '请填写 [证书列表](https://console.edge.sxhjgy.cn/site/certificate) 中的证书的ID', + helper: '请填写 [证书列表](https://console.edge.ttzi.cn/site/certificate) 中的证书的ID', component: { name: 'a-input' }, required: true, }) @@ -73,9 +73,9 @@ export class WoaiCdnPlugin extends AbstractTaskPlugin { const { baseApi, certId, cert, accessId } = this; const access = (await this.getAccess(accessId)) as WoaiAccess; // 使用默认值或用户输入的值 - const apiBase = baseApi || 'https://console.edeg.sxhjgy.cn'; + const apiBase = baseApi || 'https://console.edge.ttzi.cn'; // 登录获取token - const loginResponse = await this.doRequestApi(`${apiBase}/account/login`, { + const loginResponse = await this.doRequestApi(`${apiBase}/login`, { username: access.username, password: access.password, });