somedataType.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. package utils
  2. type ScenesDataType struct {
  3. FirstScene interface{} `json:"firstScene"`
  4. CoverPcLoc string `json:"coverPcLoc"`
  5. CoverSelect string `json:"coverSelect"`
  6. OssSomeData string `json:"ossSomeData"`
  7. Icon string `json:"icon"`
  8. Description string `json:"description"`
  9. Explanation Explanation `json:"explanation"`
  10. IsLogo int `json:"isLogo"`
  11. BackgroundMusic BackgroundMusic `json:"backgroundMusic"`
  12. Password string `json:"password"`
  13. AppIcon string `json:"appIcon"`
  14. RemindTime int `json:"remindTime"`
  15. QrCode string `json:"qrCode"`
  16. CoverMo string `json:"coverMo"`
  17. IsAuto int `json:"isAuto"`
  18. Logo string `json:"logo"`
  19. Share string `json:"share"`
  20. ID string `json:"id"`
  21. IsShowOpeningAnimation bool `json:"isShowOpeningAnimation"`
  22. IsPassword int `json:"isPassword"`
  23. UpdateTime string `json:"updateTime"`
  24. CustomButton []CustomButton `json:"customButton"`
  25. LogoChange bool `json:"logoChange"`
  26. CoverPc string `json:"coverPc"`
  27. SceneIndex string `json:"sceneIndex"`
  28. CatalogRoot []CatalogRoot `json:"catalogRoot"`
  29. UserID string `json:"userId"`
  30. OpeningAnimationType int `json:"openingAnimationType"`
  31. CreateTime string `json:"createTime"`
  32. Catalogs []Catalogs `json:"catalogs"`
  33. IsRemind int `json:"isRemind"`
  34. Name string `json:"name"`
  35. PcIcon string `json:"pcIcon"`
  36. Scenes []Scenes `json:"scenes"`
  37. CoverInfo CoverInfo `json:"coverInfo"`
  38. LogoID int `json:"logoId"`
  39. Status int `json:"status"`
  40. }
  41. type Explanation struct {
  42. OpenByDefault bool `json:"openByDefault"`
  43. AudioURL string `json:"audioUrl"`
  44. AudioName string `json:"audioName"`
  45. AudioID interface{} `json:"audioId,int"`
  46. Repeat bool `json:"repeat"`
  47. }
  48. type BackgroundMusic struct {
  49. Name string `json:"name"`
  50. ID int `json:"id"`
  51. OssPath string `json:"ossPath"`
  52. }
  53. type CustomButton struct {
  54. Name string `json:"name"`
  55. Type string `json:"type"`
  56. OpenMethod string `json:"openMethod"`
  57. Value string `json:"value"`
  58. IsShow bool `json:"isShow"`
  59. }
  60. type CatalogRoot struct {
  61. Children []any `json:"children"`
  62. Name string `json:"name"`
  63. ID interface{} `json:"id"`
  64. }
  65. type Catalogs struct {
  66. Name string `json:"name"`
  67. ID interface{} `json:"id"`
  68. }
  69. type InitVisual struct {
  70. Hlookat interface{} `json:"hlookat,float64,omitempty"`
  71. Vlookat interface{} `json:"vlookat,float64,omitempty"`
  72. Vlookatmax interface{} `json:"vlookatmax,float64,omitempty"`
  73. Vlookatmin interface{} `json:"vlookatmin,float64,omitempty"`
  74. }
  75. type ArticleInfo struct {
  76. HTML string `json:"html"`
  77. }
  78. type Sky struct {
  79. FodderID interface{} `json:"fodderId,int,omitempty"`
  80. Icon string `json:"icon"`
  81. Scale float64 `json:"scale"`
  82. Antidistorted bool `json:"antidistorted"`
  83. IsShow bool `json:"isShow"`
  84. }
  85. type Earth struct {
  86. FodderID interface{} `json:"fodderId,int,omitempty"`
  87. Icon string `json:"icon"`
  88. Scale float64 `json:"scale"`
  89. Antidistorted bool `json:"antidistorted"`
  90. IsShow bool `json:"isShow"`
  91. }
  92. type CustomMask struct {
  93. Sky Sky `json:"sky"`
  94. Earth Earth `json:"earth"`
  95. }
  96. type Secne struct {
  97. InitVisual InitVisual `json:"initVisual"`
  98. SomeData SomeData `json:"someData"`
  99. SceneCode string `json:"sceneCode"`
  100. MaterialType string `json:"materialType"`
  101. Icon string `json:"icon"`
  102. CustomMask CustomMask `json:"customMask"`
  103. ID string `json:"id"`
  104. Category string `json:"category,int,omitempty"`
  105. Type string `json:"type"`
  106. Explanation Explanation `json:"explanation"`
  107. SceneTitle string `json:"sceneTitle"`
  108. }
  109. type PersonalizedTagInfo struct {
  110. FillColor string `json:"fillColor"`
  111. TextDirection string `json:"textDirection"`
  112. BorderColor string `json:"borderColor"`
  113. IsTextWrap bool `json:"isTextWrap"`
  114. IsShowLine bool `json:"isShowLine"`
  115. TextColor string `json:"textColor"`
  116. TextNumPerLine int `json:"textNumPerLine"`
  117. LineDirection string `json:"lineDirection"`
  118. }
  119. type PhoneInfo struct {
  120. Phone string `json:"phone"`
  121. }
  122. type PdfInfo struct {
  123. Name string `json:"name"`
  124. URL string `json:"url"`
  125. }
  126. type Audio struct {
  127. }
  128. type ImageTextInfo struct {
  129. IsApplyToAll bool `json:"isApplyToAll"`
  130. Text string `json:"text"`
  131. Audio Audio `json:"audio"`
  132. ImageList []File `json:"imageList"`
  133. }
  134. type File struct {
  135. Ancestors string `json:"ancestors"`
  136. CreateTime string `json:"createTime"`
  137. DirID int64 `json:"dirId"`
  138. DirName string `json:"dirName"`
  139. Dpi string `json:"dpi"`
  140. FileName string `json:"fileName"`
  141. FileSize string `json:"fileSize"`
  142. Icon string `json:"icon"`
  143. ID int64 `json:"id"`
  144. MaterialType string `json:"materialType"`
  145. Name string `json:"name"`
  146. OssPath string `json:"ossPath"`
  147. PreviewIcon string `json:"previewIcon"`
  148. SceneCode string `json:"sceneCode"`
  149. Status int64 `json:"status"`
  150. TempID string `json:"tempId"`
  151. Type string `json:"type"`
  152. UpdateTime string `json:"updateTime"`
  153. UserID string `json:"userId"`
  154. }
  155. type CustomIconInfo struct {
  156. Img string `json:"img"`
  157. }
  158. type SerialFrameInfo struct {
  159. Duration int `json:"duration"`
  160. Img string `json:"img"`
  161. FrameNumber int `json:"frameNumber"`
  162. FrameWidth int `json:"frameWidth"`
  163. }
  164. type SerialFrameInfo0 struct {
  165. Duration int `json:"duration"`
  166. Img string `json:"img"`
  167. FrameNumber int `json:"frameNumber"`
  168. }
  169. type SerialFrameInfo1 struct {
  170. Duration int `json:"duration"`
  171. Img string `json:"img"`
  172. FrameNumber int `json:"frameNumber"`
  173. }
  174. type SerialFrameInfo2 struct {
  175. Duration int `json:"duration"`
  176. Img string `json:"img"`
  177. FrameNumber int `json:"frameNumber"`
  178. }
  179. type SerialFrameInfo3 struct {
  180. Duration int `json:"duration"`
  181. Img string `json:"img"`
  182. FrameNumber int `json:"frameNumber"`
  183. }
  184. type SerialFrameInfo4 struct {
  185. Duration int `json:"duration"`
  186. Img string `json:"img"`
  187. FrameNumber int `json:"frameNumber"`
  188. }
  189. type SerialFrameInfo5 struct {
  190. Duration int `json:"duration"`
  191. Img string `json:"img"`
  192. FrameNumber int `json:"frameNumber"`
  193. }
  194. type SerialFrameInfo6 struct {
  195. Duration int `json:"duration"`
  196. Img string `json:"img"`
  197. FrameNumber int `json:"frameNumber"`
  198. }
  199. type SerialFrameInfo7 struct {
  200. Duration int `json:"duration"`
  201. Img string `json:"img"`
  202. FrameNumber int `json:"frameNumber"`
  203. }
  204. type SerialFrameInfo8 struct {
  205. Duration int `json:"duration"`
  206. Img string `json:"img"`
  207. FrameNumber int `json:"frameNumber"`
  208. }
  209. type Hotspots struct {
  210. Img string `json:"img"`
  211. HotspotIconType string `json:"hotspotIconType"`
  212. ArticleInfo ArticleInfo `json:"articleInfo"`
  213. TitleDisplayMode string `json:"titleDisplayMode"`
  214. Link string `json:"link"`
  215. Textarea string `json:"textarea"`
  216. Secne Secne `json:"secne,omitempty"`
  217. Video interface{} `json:"video,omitempty"`
  218. Type string `json:"type"`
  219. FodderID []interface{} `json:"fodderId,int"`
  220. Ath interface{} `json:"ath,omitempty"`
  221. PersonalizedTagInfo PersonalizedTagInfo `json:"personalizedTagInfo"`
  222. PhoneInfo PhoneInfo `json:"phoneInfo"`
  223. Audio interface{} `json:"audio"`
  224. PdfInfo PdfInfo `json:"pdfInfo"`
  225. Icontype string `json:"icontype"`
  226. Hyperlink string `json:"hyperlink"`
  227. Image []any `json:"image"`
  228. Atv interface{} `json:"atv,omitempty"`
  229. TitlePosition string `json:"titlePosition"`
  230. ImageTextInfo ImageTextInfo `json:"imageTextInfo"`
  231. HotspotType string `json:"hotspotType"`
  232. CustomIconInfo CustomIconInfo `json:"customIconInfo"`
  233. SerialFrameInfo SerialFrameInfo `json:"serialFrameInfo,omitempty"`
  234. Size int `json:"size"`
  235. Name string `json:"name"`
  236. FontSize int `json:"fontSize"`
  237. HotspotTitle string `json:"hotspotTitle"`
  238. SerialFrameInfo0 SerialFrameInfo0 `json:"serialFrameInfo,omitempty"`
  239. SerialFrameInfo1 SerialFrameInfo1 `json:"serialFrameInfo,omitempty"`
  240. SerialFrameInfo2 SerialFrameInfo2 `json:"serialFrameInfo,omitempty"`
  241. SerialFrameInfo3 SerialFrameInfo3 `json:"serialFrameInfo,omitempty"`
  242. SerialFrameInfo4 SerialFrameInfo4 `json:"serialFrameInfo,omitempty"`
  243. SerialFrameInfo5 SerialFrameInfo5 `json:"serialFrameInfo,omitempty"`
  244. SerialFrameInfo6 SerialFrameInfo6 `json:"serialFrameInfo,omitempty"`
  245. SerialFrameInfo7 SerialFrameInfo7 `json:"serialFrameInfo,omitempty"`
  246. SerialFrameInfo8 SerialFrameInfo8 `json:"serialFrameInfo,omitempty"`
  247. }
  248. type SomeData struct {
  249. Hotspots []Hotspots `json:"hotspots"`
  250. }
  251. type Scenes struct {
  252. InitVisual InitVisual `json:"initVisual"`
  253. SomeData SomeData `json:"someData,omitempty"`
  254. SceneCode string `json:"sceneCode"`
  255. MaterialType string `json:"materialType"`
  256. Icon string `json:"icon"`
  257. CustomMask CustomMask `json:"customMask"`
  258. ID string `json:"id"`
  259. Category string `json:"category,int,omitempty"`
  260. Type string `json:"type"`
  261. Explanation Explanation `json:"explanation"`
  262. SceneTitle string `json:"sceneTitle"`
  263. }
  264. type CoverInfo struct {
  265. VideoMo string `json:"videoMo"`
  266. VideoMoIcon string `json:"videoMoIcon"`
  267. CoverBac string `json:"coverBac"`
  268. CoverSelect string `json:"coverSelect"`
  269. CoverPcLoc string `json:"coverPcLoc"`
  270. VideoMoID int `json:"videoMoId"`
  271. CoverMoID int `json:"coverMoId"`
  272. CoverImageOrder string `json:"coverImageOrder"`
  273. IsShowCover int `json:"isShowCover"`
  274. CoverVideoControl int `json:"coverVideoControl"`
  275. FodderID []int `json:"fodderId"`
  276. VideoMoLoc string `json:"videoMoLoc"`
  277. CoverMo string `json:"coverMo"`
  278. VideoBacImgID int `json:"videoBacImgId"`
  279. ImgColorSelec string `json:"imgColorSelec"`
  280. VideoPcLoc string `json:"videoPcLoc"`
  281. CoverVideoInWay int `json:"coverVideoInWay"`
  282. CoverVideoBac string `json:"coverVideoBac"`
  283. CoverMoLoc string `json:"coverMoLoc"`
  284. CoverImgBac string `json:"coverImgBac"`
  285. CoverPc string `json:"coverPc"`
  286. VideoPcIcon string `json:"videoPcIcon"`
  287. VideoBacImg string `json:"videoBacImg"`
  288. VideoPc string `json:"videoPc"`
  289. CoverImageInWay int `json:"coverImageInWay"`
  290. VideoPcID int `json:"videoPcId"`
  291. VideoColorSelec string `json:"videoColorSelec"`
  292. CoverPcID int `json:"coverPcId"`
  293. }