mirror of
https://github.com/certd/certd.git
synced 2026-05-17 22:07:34 +08:00
feat: 通过metadata加载插件,降低内存占用
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
addonType: emailTemplate
|
||||
name: sendCert
|
||||
title: 发送证书邮件模版
|
||||
desc: 邮件发送证书插件的邮件模版
|
||||
icon: simple-icons:email:blue
|
||||
showTest: false
|
||||
input:
|
||||
useIntro:
|
||||
title: 配置说明
|
||||
component:
|
||||
name: a-alert
|
||||
props:
|
||||
type: info
|
||||
message: 在标题和内容模版中,通过${name}引用参数,例如: 感谢注册,您的注册验证码为:${code}
|
||||
order: -9
|
||||
col:
|
||||
span: 24
|
||||
formatType:
|
||||
title: 邮件格式
|
||||
component:
|
||||
name: a-select
|
||||
props:
|
||||
options:
|
||||
- label: HTML
|
||||
value: html
|
||||
- label: TEXT
|
||||
value: text
|
||||
order: 9
|
||||
col:
|
||||
span: 24
|
||||
required: true
|
||||
titleTemplate:
|
||||
title: 邮件标题模版
|
||||
required: true
|
||||
order: 10
|
||||
component:
|
||||
name: a-input
|
||||
props:
|
||||
placeholder: 邮件标题模版
|
||||
col:
|
||||
span: 24
|
||||
contentTemplate:
|
||||
title: 邮件内容模版
|
||||
component:
|
||||
name: a-textarea
|
||||
rows: 6
|
||||
order: 20
|
||||
col:
|
||||
span: 24
|
||||
required: true
|
||||
paramIntro:
|
||||
title: 可用参数
|
||||
component:
|
||||
name: ParamsShow
|
||||
params:
|
||||
- label: 主域名
|
||||
value: mainDomain
|
||||
- label: 全部域名
|
||||
value: domains
|
||||
- label: 过期时间
|
||||
value: expiresTime
|
||||
- label: 备注
|
||||
value: remark
|
||||
- label: 证书内容
|
||||
value: crt
|
||||
- label: 私钥内容
|
||||
value: key
|
||||
- label: 中间证书
|
||||
value: ic
|
||||
col:
|
||||
span: 24
|
||||
pluginType: addon
|
||||
type: builtIn
|
||||
scriptFilePath: ../../../plugins/plugin-template/email/plugin-send-cert.js
|
||||
Reference in New Issue
Block a user