somedataType.go.bk 13 KB

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