From 36808a953e4dd6ee94619835e9d2eddfcc4836ea Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Wed, 29 Apr 2026 23:06:34 +0800 Subject: [PATCH] chore: 1 --- docs/guide/plugins/deploy.md | 2 +- .../deploy_CertApplyGetFormAliyun.yaml | 25 ++++++++++--------- .../plugin/cert-plugin/getter/aliyun.ts | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/docs/guide/plugins/deploy.md b/docs/guide/plugins/deploy.md index 5dce3791c..898d95e4c 100644 --- a/docs/guide/plugins/deploy.md +++ b/docs/guide/plugins/deploy.md @@ -6,7 +6,7 @@ |-----|-----|-----| | 1.| **证书申请(JS版)** | 免费通配符域名证书申请,支持多个域名打到同一个证书上 | | 2.| **已有证书托管** | 手动上传自定义证书后,自动部署(每次证书有更新,都需要手动上传一次) | -| 3.| **获取阿里云订阅证书** | 从阿里云拉取订阅模式的商用证书 | +| 3.| **获取阿里云订阅证书** | 从阿里云拉取订阅模式的商用证书(支持 API 1.0 和 2.0) | | 4.| **证书申请(Lego)** | 支持海量DNS解析提供商,推荐使用,一样的免费通配符域名证书申请,支持多个域名打到同一个证书上 | ## 2. 主机 diff --git a/packages/ui/certd-server/metadata/deploy_CertApplyGetFormAliyun.yaml b/packages/ui/certd-server/metadata/deploy_CertApplyGetFormAliyun.yaml index e7891093b..b12054ffe 100644 --- a/packages/ui/certd-server/metadata/deploy_CertApplyGetFormAliyun.yaml +++ b/packages/ui/certd-server/metadata/deploy_CertApplyGetFormAliyun.yaml @@ -6,7 +6,7 @@ name: CertApplyGetFormAliyun icon: ph:certificate title: 获取阿里云订阅证书 group: cert -desc: 从阿里云拉取订阅模式的商用证书 +desc: 从阿里云拉取订阅模式的商用证书(支持 API 1.0 和 2.0) input: domains: title: 证书域名 @@ -49,27 +49,28 @@ input: order: -1 helper: 请输入邮箱 accessId: - title: Access授权 - helper: 阿里云授权AccessKeyId、AccessKeySecret + title: Access 授权 + helper: 阿里云授权 AccessKeyId、AccessKeySecret component: name: access-selector type: aliyun required: true order: 0 - orderType: - title: 订单类型 - value: CPACK + apiVersion: + title: 证书API 版本 + value: v1 component: name: a-select vModel: value options: - - label: 资源虚拟订单(一般选这个) - value: CPACK - - label: 售卖订单 - value: BUY + - label: API 1.0 (旧版) + value: v1 + - label: API 2.0 (新版) + value: v2 + helper: 选择阿里云证书 API 版本 order: 0 orderId: - title: 证书订单ID + title: 证书订单 ID component: name: RemoteSelect vModel: value @@ -95,7 +96,7 @@ input: }, } - helper: 订阅模式的证书订单Id + helper: 订阅模式的证书订单 Id order: 0 pfxPassword: title: 证书加密密码 diff --git a/packages/ui/certd-server/src/plugins/plugin-cert/plugin/cert-plugin/getter/aliyun.ts b/packages/ui/certd-server/src/plugins/plugin-cert/plugin/cert-plugin/getter/aliyun.ts index 15ba3820c..9af6d0c29 100644 --- a/packages/ui/certd-server/src/plugins/plugin-cert/plugin/cert-plugin/getter/aliyun.ts +++ b/packages/ui/certd-server/src/plugins/plugin-cert/plugin/cert-plugin/getter/aliyun.ts @@ -55,7 +55,7 @@ export class CertApplyGetFormAliyunPlugin extends CertApplyBasePlugin { @TaskInput( createRemoteSelectInputDefine({ title: "证书订单 ID", - helper: "订阅模式的证书订单 Id", + helper: "订阅模式的证书订单 Id(在新建流水线时暂时无法获取,可以先随便填个数字,先创建,进入流水线编辑页面再获取选择即可)", typeName: "CertApplyGetFormAliyun", pageSize: 50, component: {