somedataType.go 13 KB

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