halo-sigs / plugin-alioss

【过时】为 Halo 2.0 提供阿里云 OSS 的存储策略。请使用 S3 插件替代:https://github.com/halo-sigs/plugin-s3
https://halo.run/store/apps/app-Qxhpp
GNU General Public License v3.0
10 stars 4 forks source link

表单 Schema #1

Closed ruibaby closed 2 years ago

ruibaby commented 2 years ago
- $formkit: text
  name: bucket
  label: Bucket
  validation: required
- $formkit: text
  name: endpoint
  label: EndPoint
  validation: required
- $formkit: text
  name: access_key
  label: Access Key
  validation: required
- $formkit: text
  name: access_secret
  label: Access Secret
  validation: required
- $formkit: text
  name: location
  label: 上传目录
  placeholder: 如不填写,则默认上传到根目录
- $formkit: select
  name: bind_domain_protocol
  label: 绑定域名协议
  options:
    - label: HTTPS
      value: https
    - label: HTTP
      value: http
- $formkit: text
  name: bind_domain
  label: 绑定域名
  placeholder: 如不设置,那么将使用 Bucket + EndPoint 作为域名
- $formkit: textarea
  name: allow_extensions
  label: 允许上传的文件类型
  placeholder: 使用半角逗号分隔
JohnNiang commented 2 years ago

/assign

ruibaby commented 2 years ago

已经在 https://github.com/halo-sigs/plugin-alioss/pull/2 中实现。

/close

f2c-ci-robot[bot] commented 2 years ago

@ruibaby: Closing this issue.

In response to [this](https://github.com/halo-sigs/plugin-alioss/issues/1#issuecomment-1250064254): >已经在 https://github.com/halo-sigs/plugin-alioss/pull/2 中实现。 > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.