mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
perf: 新增七牛云插件分组
This commit is contained in:
@@ -107,11 +107,10 @@ export default function (certPluginGroup: PluginGroup, formWrapperRef: any): Cre
|
||||
title: "失败通知",
|
||||
type: "text",
|
||||
form: {
|
||||
value: 0,
|
||||
value: true,
|
||||
component: {
|
||||
name: NotificationSelector,
|
||||
vModel: "modelValue",
|
||||
useDefault: true
|
||||
name: "a-switch",
|
||||
vModel: "checked"
|
||||
},
|
||||
order: 101,
|
||||
helper: "建议设置,任务执行失败实时提醒"
|
||||
|
||||
@@ -103,12 +103,11 @@ export default function ({ crudExpose, context: { certdFormRef, groupDictRef, se
|
||||
}
|
||||
const notifications = [];
|
||||
if (form.notification) {
|
||||
const notify = await createNotificationApi().GetSimpleInfo(form.notification);
|
||||
notifications.push({
|
||||
type: "custom",
|
||||
when: ["error", "turnToSuccess"],
|
||||
notificationId: form.notification,
|
||||
title: notify.name
|
||||
notificationId: 0,
|
||||
title: "使用默认通知"
|
||||
});
|
||||
}
|
||||
let pipeline = {
|
||||
|
||||
@@ -8,7 +8,7 @@ import { QiniuAccess, QiniuClient } from '@certd/plugin-plus';
|
||||
name: 'QiniuDeployCertToCDN',
|
||||
title: '部署证书至七牛CDN',
|
||||
icon: 'svg:icon-qiniuyun',
|
||||
group: pluginGroups.cdn.key,
|
||||
group: pluginGroups.qiniu.key,
|
||||
desc: '自动部署域名证书至七牛云CDN',
|
||||
default: {
|
||||
strategy: {
|
||||
|
||||
@@ -6,7 +6,7 @@ import { CertInfo } from '@certd/plugin-cert';
|
||||
name: 'QiniuCertUpload',
|
||||
title: '上传到七牛云',
|
||||
icon: 'svg:icon-qiniuyun',
|
||||
group: pluginGroups.cdn.key,
|
||||
group: pluginGroups.qiniu.key,
|
||||
desc: '上传到七牛云',
|
||||
default: {
|
||||
strategy: {
|
||||
|
||||
Reference in New Issue
Block a user