蛋蛋星球-客户端
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_config.go 1.1 KiB

3 päivää sitten
12345678910111213141516171819202122232425262728293031
  1. package md
  2. type ConfigResp struct {
  3. Title string `json:"title" example:"软件使用协议标题"`
  4. Content string `json:"content" example:"软件使用协议内容"`
  5. UserTitle string `json:"user_title" example:"用户协议标题"`
  6. UserUrl string `json:"user_url" example:"用户协议链接"`
  7. PrivacyTitle string `json:"privacy_title" example:"隐私协议标题"`
  8. PrivacyUrl string `json:"privacy_url" example:"隐私协议链接"`
  9. OssUrl string `json:"oss_url" example:"阿里云图片链接"`
  10. Guide []Guide `json:"guide"`
  11. }
  12. type VersionResp struct {
  13. Version []Version `json:"version"`
  14. IsAuditVersion string `json:"is_audit_version"`
  15. }
  16. type Version struct {
  17. Type string `json:"type"`
  18. Img string `json:"img"`
  19. Name string `json:"name"`
  20. Version string `json:"version"`
  21. Url string `json:"url"`
  22. Content string `json:"content"`
  23. IsMust string `json:"is_must"`
  24. }
  25. type Guide struct {
  26. BgImage string `json:"bg_image"`
  27. BgImageUrl string `json:"bg_image_url"`
  28. ContentImage string `json:"content_image"`
  29. ContentImageUrl string `json:"content_image_url"`
  30. }