蛋蛋星球-客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md.basic.go 1022 B

1 month ago
12345678910111213141516171819
  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. }
  10. type SetBasicReq struct {
  11. OssEndpoint string `json:"oss_endpoint" example:"oss地域节点"`
  12. OssBucketName string `json:"oss_bucket_name" example:"oss存储桶名称"`
  13. OssBucketScheme string `json:"oss_bucket_scheme" example:"oss上传方式"`
  14. OssAccessKeyId string `json:"oss_access_key_id" example:"oss访问秘钥id"`
  15. OssAccessKeySecret string `json:"oss_access_key_secret" example:"oss访问秘钥"`
  16. OssObjectDomain string `json:"oss_object_domain" example:"oss域名"`
  17. }