2025-09-22 23:30:28 +08:00
|
|
|
import { IsAccess, AccessInput, BaseAccess } from '@certd/pipeline';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 这个注解将注册一个授权配置
|
|
|
|
|
* 在certd的后台管理系统中,用户可以选择添加此类型的授权
|
|
|
|
|
*/
|
|
|
|
|
@IsAccess({
|
|
|
|
|
name: 'xinnet',
|
|
|
|
|
title: '新网授权',
|
|
|
|
|
icon: 'arcticons:dns-changer-3',
|
|
|
|
|
desc: '',
|
|
|
|
|
})
|
|
|
|
|
export class XinnetAccess extends BaseAccess {
|
|
|
|
|
|
|
|
|
|
@AccessInput({
|
2025-09-23 00:56:08 +08:00
|
|
|
title: '域名登录密码',
|
2025-09-22 23:30:28 +08:00
|
|
|
component: {
|
|
|
|
|
name:"a-input-password",
|
|
|
|
|
vModel:"value",
|
2025-09-23 00:56:08 +08:00
|
|
|
placeholder: '域名密码',
|
2025-09-22 23:30:28 +08:00
|
|
|
},
|
2025-09-23 00:56:08 +08:00
|
|
|
helper:"您可以在此处[重置域名管理密码](https://domain.xinnet.com/#domain/manage/domain_manage_pwd)",
|
2025-09-22 23:30:28 +08:00
|
|
|
required: true,
|
|
|
|
|
encrypt: true,
|
|
|
|
|
})
|
|
|
|
|
password = '';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
new XinnetAccess();
|