蛋蛋星球 后台端
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_website.go 1.5 KiB

2 weeks ago
2 weeks ago
2 weeks ago
123456789101112131415161718192021222324252627282930313233343536373839
  1. package md
  2. type WebsiteInfoResp struct {
  3. SeoTitle string `json:"seo_title" example:"seo"`
  4. SeoLogo string `json:"seo_logo"`
  5. WebLogo string `json:"web_logo"`
  6. AndroidDownUrl string `json:"android_down_url"`
  7. IosDownUrl string `json:"ios_down_url"`
  8. }
  9. type GetModuleSettingResp struct {
  10. ModName string `json:"mod_name"` // 模块名称
  11. Position string `json:"position"` // 位置
  12. SkipIdentifier string `json:"skip_identifier"` // 跳转标识
  13. Title string `json:"title"` // 标题
  14. Subtitle string `json:"subtitle"` // 副标题
  15. Data interface{} `json:"data"` // 内容
  16. }
  17. type CertificateReq struct {
  18. No string `json:"no" example:"DD123"`
  19. }
  20. type CertificateResp struct {
  21. No string `json:"no" example:"编号"`
  22. Name string `json:"name" example:"姓名"`
  23. StartTime string `json:"start_time" example:"开始时间"`
  24. EndTime string `json:"end_time" example:"结束时间"`
  25. Logo string `json:"logo" example:"logo"`
  26. BgImg string `json:"bg_img" example:"背景图"`
  27. NameIcon string `json:"name_icon" example:"蛋蛋星球文字图"`
  28. Medal string `json:"medal" example:"勋章"`
  29. Seal string `json:"seal" example:"印章"`
  30. }
  31. var Certificate = CertificateResp{
  32. Logo: "default_icon/certificate_logo.png",
  33. BgImg: "default_icon/certificate_bg_img.jpg",
  34. NameIcon: "default_icon/certificate_name_icon.png",
  35. Medal: "default_icon/certificate_medal.png",
  36. Seal: "default_icon/certificate_seal.png",
  37. }