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

118 lines
4.0 KiB

  1. package md
  2. type CloudBundleReq struct {
  3. Page string `json:"page,required"` // 页数
  4. Limit string `json:"limit,required"` // 每页大小
  5. }
  6. type CloudBundleResp struct {
  7. Total int64 `json:"total"`
  8. List []CloudBundleList `json:"list"`
  9. LastBit string `json:"last_bit"`
  10. LastPlatform []string `json:"last_platform"`
  11. LastIsCombine string `json:"last_is_combine"`
  12. LastAndroid string `json:"last_android"`
  13. ListIos string `json:"list_ios"`
  14. SelectData []CloudBundleVersionMap `json:"select_data"`
  15. }
  16. type CloudBundleList struct {
  17. Id string `json:"id"`
  18. BuildId string `json:"build_id"`
  19. Version string `json:"version"`
  20. Os string `json:"os"`
  21. State string `json:"state"`
  22. Memo string `json:"memo"`
  23. Src string `json:"src"`
  24. Bit string `json:"bit"`
  25. ApplyAt string `json:"apply_at"`
  26. FinishAt string `json:"finish_at"`
  27. IsCombine string `json:"is_combine"`
  28. IsAuditing string `json:"is_auditing"`
  29. Platform string `json:"platform"`
  30. }
  31. type CloudBundleBuildReq struct {
  32. Memo string `json:"memo"`
  33. Version string `json:"version"`
  34. Os string `json:"os"`
  35. Bit []string `json:"bit"`
  36. Platform []string `json:"platform"`
  37. IsCombine string `json:"isCombine"`
  38. }
  39. type CloudBundleBase struct {
  40. AndroidLogo string `json:"android_logo"`
  41. IosLogo string `json:"ios_logo"`
  42. Build10802280 string `json:"build_1080_2280"`
  43. Build11252436 string `json:"build_1125_2436"`
  44. Build12422208 string `json:"build_1242_2208"`
  45. Build6401136 string `json:"build_640_1136"`
  46. Build640960 string `json:"build_640_960"`
  47. Build7201280 string `json:"build_720_1280"`
  48. Build7501334 string `json:"build_750_1334"`
  49. }
  50. type CloudBundleBaseResp struct {
  51. AndroidLogo string `json:"android_logo"`
  52. IosLogo string `json:"ios_logo"`
  53. LaunchScreen map[string]string `json:"launch_screen"`
  54. }
  55. type CloudBundleUpdateStateReq struct {
  56. Id string `json:"id"`
  57. State string `json:"state"`
  58. Src string `json:"src"`
  59. BuildId string `json:"build_id"`
  60. BuildNumber string `json:"build_number"`
  61. ErrorMsg string `json:"error_msg"`
  62. }
  63. type CloudBundleImgResp struct {
  64. AndroidLogo string `json:"android_logo"`
  65. AndroidLogoUrl string `json:"android_logo_url"`
  66. IosLogo string `json:"ios_logo"`
  67. IosLogoUrl string `json:"ios_logo_url"`
  68. Guide []Guide `json:"guide"`
  69. Build10802280 string `json:"build_1080_2280"`
  70. Build11252436 string `json:"build_1125_2436"`
  71. Build12422208 string `json:"build_1242_2208"`
  72. Build6401136 string `json:"build_640_1136"`
  73. Build640960 string `json:"build_640_960"`
  74. Build7201280 string `json:"build_720_1280"`
  75. Build7501334 string `json:"build_750_1334"`
  76. Build10802280Url string `json:"build_1080_2280_url"`
  77. Build11252436Url string `json:"build_1125_2436_url"`
  78. Build12422208Url string `json:"build_1242_2208_url"`
  79. Build6401136Url string `json:"build_640_1136_url"`
  80. Build640960Url string `json:"build_640_960_url"`
  81. Build7201280Url string `json:"build_720_1280_url"`
  82. Build7501334Url string `json:"build_750_1334_url"`
  83. }
  84. type Guide struct {
  85. BgImage string `json:"bg_image"`
  86. BgImageUrl string `json:"bg_image_url"`
  87. ContentImage string `json:"content_image"`
  88. ContentImageUrl string `json:"content_image_url"`
  89. }
  90. type AuditClearReq struct {
  91. Os string `json:"os" example:"1-安卓 2-ios"`
  92. }
  93. type CloudBundleDelReq struct {
  94. Ids []string `json:"ids"`
  95. }
  96. type CloudBundleVersion struct {
  97. Type string `json:"type"`
  98. Img string `json:"img"`
  99. ImgUrl string `json:"img_url"`
  100. Name string `json:"name"`
  101. Version string `json:"version"`
  102. Url string `json:"url"`
  103. Content string `json:"content"`
  104. IsMust string `json:"is_must"`
  105. }
  106. type CloudBundleVersionMap struct {
  107. Type string `json:"type"`
  108. Name string `json:"name"`
  109. Img string `json:"img"`
  110. }
  111. type CloudBundleVersionResp struct {
  112. Version []CloudBundleVersion `json:"version"`
  113. }