Files
certd/packages/ui/certd-server/metadata/access_baota.yaml
2025-12-31 18:39:58 +08:00

45 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: baota
title: baota授权
desc: ''
icon: svg:icon-bt
order: 2
input:
panelUrl:
title: 宝塔URL地址
component:
placeholder: http://192.168.42.237:41896
helper: 宝塔面板的url地址不要带安全入口例如http://192.168.42.237:41896
required: true
apiSecret:
title: 接口密钥
component:
placeholder: 接口密钥
helper: |-
宝塔面板设置->面板设置->API接口->接口配置->接口密钥。
必须要加IP白名单您可以点击下方测试按钮报错之后会打印IP将IP加入白名单之后再次测试即可
required: true
encrypt: true
skipSslVerify:
title: 忽略证书校验
value: true
component:
name: a-switch
vModel: checked
helper: 如果面板的url是https且使用的是自签名证书则需要开启此选项其他情况可以关闭
isWindows:
title: windows版
value: false
component:
name: a-switch
vModel: checked
helper: 是否是windows版
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口看是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-plus/baota/access.js