蛋蛋星球 后台端
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
2.0 KiB

  1. package md
  2. type GetBasicResp struct {
  3. OssEndpoint string `json:"oss_endpoint" example:"oss地域节点"`
  4. OssBucketName string `json:"oss_bucket_name" example:"oss存储桶名称"`
  5. OssBucketScheme string `json:"oss_bucket_scheme" example:"oss上传方式"`
  6. OssAccessKeyId string `json:"oss_access_key_id" example:"oss访问秘钥id"`
  7. OssAccessKeySecret string `json:"oss_access_key_secret" example:"oss访问秘钥"`
  8. OssObjectDomain string `json:"oss_object_domain" example:"oss域名"`
  9. OssOption string `json:"oss_option" example:"oss上传文件类型选项,以逗号分割"`
  10. OssAssumeRoleAccessKeyID string `json:"oss_assume_role_access_key_id" example:"oss RAM角色访问秘钥id"`
  11. OssAssumeRoleAccessKeySecret string `json:"oss_assume_role_access_key_secret" example:"oss RAM角色访问秘钥"`
  12. OssAssumeRoleARN string `json:"oss_assume_arn" example:"oss RAM角色ARN"`
  13. }
  14. type SetBasicReq struct {
  15. OssEndpoint string `json:"oss_endpoint" example:"oss地域节点"`
  16. OssBucketName string `json:"oss_bucket_name" example:"oss存储桶名称"`
  17. OssBucketScheme string `json:"oss_bucket_scheme" example:"oss上传方式"`
  18. OssAccessKeyId string `json:"oss_access_key_id" example:"oss访问秘钥id"`
  19. OssAccessKeySecret string `json:"oss_access_key_secret" example:"oss访问秘钥"`
  20. OssObjectDomain string `json:"oss_object_domain" example:"oss域名"`
  21. OssOption string `json:"oss_option" example:"oss上传文件类型选项,以逗号分割"`
  22. OssAssumeRoleAccessKeyID string `json:"oss_assume_role_access_key_id" example:"oss RAM角色访问秘钥id"`
  23. OssAssumeRoleAccessKeySecret string `json:"oss_assume_role_access_key_secret" example:"oss RAM角色访问秘钥"`
  24. OssAssumeRoleARN string `json:"oss_assume_arn" example:"oss RAM角色ARN"`
  25. }