Compare commits

...

9 Commits

Author SHA1 Message Date
xiaojunnuo ad4e1c1b5b Merge branch 'v2' into v2-dev 2025-11-13 13:54:44 +08:00
xiaojunnuo f689b0f3b2 Merge branch 'v2-dev' into v2 2025-11-13 01:17:55 +08:00
Rab d20046c866 fix(plugins/woai-cdn): 修正默认接口域名与帮助链接中的路径 (#576) @LjyLab 2025-11-12 15:30:32 +08:00
xiaojunnuo 2df452fe5b Merge branch 'v2' of https://github.com/certd/certd into v2 2025-11-12 09:10:43 +08:00
xiaojunnuo 6cd57dd426 Merge branch 'v2-dev' into v2 2025-11-11 00:57:37 +08:00
greper d19ac1fd15 Update promotional content in README.md 2025-11-10 10:56:54 +08:00
greper 410a23751b Update README.md 2025-11-10 10:56:23 +08:00
greper 8190507e8c Revise README for permanent version promotion
Updated promotional text for the permanent professional version and adjusted the display format.
2025-11-10 10:54:47 +08:00
greper 645f74f39d Update README with promotional content
Added promotional message for permanent professional version and Double Eleven event.
2025-11-10 10:53:38 +08:00
2 changed files with 12 additions and 5 deletions
+7
View File
@@ -16,6 +16,13 @@ Certd® 是一个免费的全自动证书管理系统,让你的网站证书永
> 流水线数量现已调整为无限制,欢迎大家使用
**************************************************************************************************
🔥🔥🔥永久专业版上线,双11活动火热进行中🔥🔥🔥
赶快升级到最新版点击右上角金色VIP按钮,点击立即赞助,看看你的优惠券金额是多少?
**************************************************************************************************
## 一、特性
本项目不仅支持证书申请过程自动化,还可以自动化部署更新证书,让你的证书永不过期。
@@ -1,7 +1,7 @@
import { AbstractTaskPlugin, IsTaskPlugin, pluginGroups, RunStrategy, TaskInput } from '@certd/pipeline';
import { CertInfo } from '@certd/plugin-cert';
import { CertApplyPluginNames, CertInfo } from "@certd/plugin-cert";
import { WoaiAccess } from '../access.js';
import { CertApplyPluginNames} from '@certd/plugin-cert';
@IsTaskPlugin({
name: 'WoaiCDN',
title: '我爱云-部署证书到我爱云CDN',
@@ -17,7 +17,7 @@ import { CertApplyPluginNames} from '@certd/plugin-cert';
export class WoaiCdnPlugin extends AbstractTaskPlugin {
@TaskInput({
title: '接口地址(可留空)',
helper: '请填写我爱云的地址, 默认为 [API](https://console.edge.ttzi.cn) 末尾请不要携带`/`',
helper: '请填写我爱云的地址, 默认为 [API](https://console.edeg.ttzi.cn) 末尾请不要携带`/`',
component: { name: 'a-input' },
required: false,
})
@@ -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.edge.ttzi.cn';
const apiBase = baseApi || 'https://console.edeg.ttzi.cn';
// 登录获取token
const loginResponse = await this.doRequestApi(`${apiBase}/login`, {
const loginResponse = await this.doRequestApi(`${apiBase}/account/login`, {
username: access.username,
password: access.password,
});