mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
perf: 支持西部数码DNS
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import { IsAccess, AccessInput } from '@certd/pipeline';
|
||||
|
||||
/**
|
||||
* 这个注解将注册一个授权配置
|
||||
* 在certd的后台管理系统中,用户可以选择添加此类型的授权
|
||||
*/
|
||||
@IsAccess({
|
||||
name: 'west',
|
||||
title: '西部数码授权',
|
||||
desc: '',
|
||||
})
|
||||
export class WestAccess {
|
||||
/**
|
||||
* 授权属性配置
|
||||
*/
|
||||
@AccessInput({
|
||||
title: 'ApiKey',
|
||||
component: {
|
||||
placeholder: 'apidomainkey',
|
||||
},
|
||||
helper:'前往https://www.west.cn/manager/domain/ 进入对应域名管理页面,上方点击ApiKey获取密钥',
|
||||
required: true,
|
||||
})
|
||||
apidomainkey = '';
|
||||
}
|
||||
|
||||
new WestAccess();
|
||||
Reference in New Issue
Block a user