123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345 |
- package utils
- import "encoding/json"
- type ScenesDataType struct {
- AppIcon string `json:"appIcon"`
- BackgroundMusic struct {
- ID string `json:"id"`
- Name string `json:"name"`
- OssPath string `json:"ossPath"`
- } `json:"backgroundMusic"`
- CatalogRoot []struct {
- Children []any `json:"children"`
- ID interface{} `json:"id"`
- Name string `json:"name"`
- } `json:"catalogRoot"`
- Catalogs []struct {
- ID interface{} `json:"id"`
- Name string `json:"name"`
- } `json:"catalogs"`
- CoverInfo struct {
- CoverImageInWay int64 `json:"coverImageInWay"`
- CoverImageOrder string `json:"coverImageOrder"`
- CoverImgBac string `json:"coverImgBac"`
- CoverMoLoc string `json:"coverMoLoc"`
- CoverPcLoc string `json:"coverPcLoc"`
- CoverSelect string `json:"coverSelect"`
- CoverVideoBac string `json:"coverVideoBac"`
- CoverVideoControl int64 `json:"coverVideoControl"`
- CoverVideoInWay int64 `json:"coverVideoInWay"`
- ImgColorSelec string `json:"imgColorSelec"`
- IsShowCover int64 `json:"isShowCover"`
- VideoColorSelec string `json:"videoColorSelec"`
- VideoMo string `json:"videoMo"`
- VideoMoIcon string `json:"videoMoIcon"`
- VideoMoLoc string `json:"videoMoLoc"`
- VideoPc string `json:"videoPc"`
- VideoPcIcon string `json:"videoPcIcon"`
- VideoPcLoc string `json:"videoPcLoc"`
- } `json:"coverInfo"`
- CoverMo string `json:"coverMo"`
- CoverPc string `json:"coverPc"`
- CoverPcLoc string `json:"coverPcLoc"`
- CoverSelect string `json:"coverSelect"`
- CreateTime string `json:"createTime"`
- CustomButton []struct {
- IsShow bool `json:"isShow"`
- Name string `json:"name"`
- OpenMethod string `json:"openMethod"`
- Type string `json:"type"`
- Value string `json:"value"`
- } `json:"customButton"`
- Description string `json:"description"`
- Explanation struct {
- AudioID string `json:"audioId"`
- AudioName string `json:"audioName"`
- AudioURL string `json:"audioUrl"`
- OpenByDefault bool `json:"openByDefault"`
- Repeat bool `json:"repeat"`
- } `json:"explanation"`
- FirstScene struct {
- Category interface{} `json:"category"`
- CustomMask struct {
- Earth struct {
- Antidistorted bool `json:"antidistorted"`
- FodderID string `json:"fodderId"`
- Icon string `json:"icon"`
- IsShow bool `json:"isShow"`
- Scale int64 `json:"scale"`
- } `json:"earth"`
- Sky struct {
- Antidistorted bool `json:"antidistorted"`
- FodderID string `json:"fodderId"`
- Icon string `json:"icon"`
- IsShow bool `json:"isShow"`
- Scale int64 `json:"scale"`
- } `json:"sky"`
- } `json:"customMask"`
- Icon string `json:"icon"`
- ID string `json:"id"`
- InitVisual struct {
- Hlookat float64 `json:"hlookat"`
- Vlookat float64 `json:"vlookat"`
- } `json:"initVisual"`
- MaterialType string `json:"materialType"`
- SceneCode string `json:"sceneCode"`
- SceneTitle string `json:"sceneTitle"`
- SomeData struct {
- Hotspots []struct {
- ArticleInfo struct {
- HTML string `json:"html"`
- } `json:"articleInfo"`
- Ath interface{} `json:"ath"`
- Atv interface{} `json:"atv"`
- Audio string `json:"audio"`
- CustomIconInfo struct {
- Img string `json:"img"`
- } `json:"customIconInfo"`
- FodderID []interface{} `json:"fodderId"`
- FontSize int64 `json:"fontSize"`
- HotspotIconType string `json:"hotspotIconType"`
- HotspotTitle string `json:"hotspotTitle"`
- HotspotType string `json:"hotspotType"`
- Hyperlink string `json:"hyperlink"`
- Icontype string `json:"icontype"`
- Image []interface{} `json:"image"`
- ImageTextInfo struct {
- Audio struct{} `json:"audio"`
- ImageList []interface{} `json:"imageList"`
- IsApplyToAll bool `json:"isApplyToAll"`
- Text string `json:"text"`
- } `json:"imageTextInfo"`
- Img string `json:"img"`
- Link string `json:"link"`
- Name string `json:"name"`
- PdfInfo struct {
- Name string `json:"name"`
- URL string `json:"url"`
- } `json:"pdfInfo"`
- PersonalizedTagInfo struct {
- BorderColor string `json:"borderColor"`
- FillColor string `json:"fillColor"`
- IsShowLine bool `json:"isShowLine"`
- IsTextWrap bool `json:"isTextWrap"`
- LineDirection string `json:"lineDirection"`
- TextColor string `json:"textColor"`
- TextDirection string `json:"textDirection"`
- TextNumPerLine int64 `json:"textNumPerLine"`
- } `json:"personalizedTagInfo"`
- PhoneInfo struct {
- Phone string `json:"phone"`
- } `json:"phoneInfo"`
- Secne struct {
- Category interface{} `json:"category"`
- CustomMask struct {
- Earth struct {
- Antidistorted bool `json:"antidistorted"`
- FodderID string `json:"fodderId"`
- Icon string `json:"icon"`
- IsShow bool `json:"isShow"`
- Scale int64 `json:"scale"`
- } `json:"earth"`
- Sky struct {
- Antidistorted bool `json:"antidistorted"`
- FodderID string `json:"fodderId"`
- Icon string `json:"icon"`
- IsShow bool `json:"isShow"`
- Scale int64 `json:"scale"`
- } `json:"sky"`
- } `json:"customMask"`
- Icon string `json:"icon"`
- ID string `json:"id"`
- InitVisual struct {
- Hlookat float64 `json:"hlookat"`
- Vlookat float64 `json:"vlookat"`
- Vlookatmax float64 `json:"vlookatmax"`
- Vlookatmin float64 `json:"vlookatmin"`
- } `json:"initVisual"`
- MaterialType string `json:"materialType"`
- SceneCode string `json:"sceneCode"`
- SceneTitle string `json:"sceneTitle"`
- SomeData struct{} `json:"someData"`
- Type string `json:"type"`
- Version string `json:"version"`
- } `json:"secne"`
- SerialFrameInfo struct {
- Duration int64 `json:"duration"`
- FrameNumber int64 `json:"frameNumber"`
- Img string `json:"img"`
- } `json:"serialFrameInfo"`
- Size json.Number `json:"size"`
- Textarea string `json:"textarea"`
- TitleDisplayMode string `json:"titleDisplayMode"`
- TitlePosition string `json:"titlePosition"`
- Type string `json:"type"`
- Video string `json:"video"`
- } `json:"hotspots"`
- } `json:"someData"`
- Type string `json:"type"`
- } `json:"firstScene"`
- Icon string `json:"icon"`
- ID string `json:"id"`
- IsAuto int64 `json:"isAuto"`
- IsLogo int64 `json:"isLogo"`
- IsPassword int64 `json:"isPassword"`
- IsRemind int64 `json:"isRemind"`
- IsShowOpeningAnimation bool `json:"isShowOpeningAnimation"`
- Logo string `json:"logo"`
- LogoChange bool `json:"logoChange"`
- Name string `json:"name"`
- OpeningAnimationType int64 `json:"openingAnimationType"`
- OssSomeData string `json:"ossSomeData"`
- Password string `json:"password"`
- PcIcon string `json:"pcIcon"`
- QrCode string `json:"qrCode"`
- RemindTime int64 `json:"remindTime"`
- SceneIndex string `json:"sceneIndex"`
- Scenes []struct {
- Category interface{} `json:"category"`
- CustomMask struct {
- Earth struct {
- Antidistorted bool `json:"antidistorted"`
- FodderID string `json:"fodderId"`
- Icon string `json:"icon"`
- IsShow bool `json:"isShow"`
- Scale int64 `json:"scale"`
- } `json:"earth"`
- Sky struct {
- Antidistorted bool `json:"antidistorted"`
- FodderID string `json:"fodderId"`
- Icon string `json:"icon"`
- IsShow bool `json:"isShow"`
- Scale int64 `json:"scale"`
- } `json:"sky"`
- } `json:"customMask"`
- Icon string `json:"icon"`
- ID string `json:"id"`
- InitVisual struct {
- Hlookat float64 `json:"hlookat"`
- Vlookat float64 `json:"vlookat"`
- Vlookatmax int64 `json:"vlookatmax"`
- Vlookatmin int64 `json:"vlookatmin"`
- } `json:"initVisual"`
- MaterialType string `json:"materialType"`
- SceneCode string `json:"sceneCode"`
- SceneTitle string `json:"sceneTitle"`
- SomeData struct {
- Hotspots []struct {
- ArticleInfo struct {
- HTML string `json:"html"`
- } `json:"articleInfo"`
- Ath interface{} `json:"ath"`
- Atv interface{} `json:"atv"`
- Audio string `json:"audio"`
- CustomIconInfo struct {
- Img string `json:"img"`
- } `json:"customIconInfo"`
- FodderID []int64 `json:"fodderId"`
- FontSize int64 `json:"fontSize"`
- HotspotIconType string `json:"hotspotIconType"`
- HotspotTitle string `json:"hotspotTitle"`
- HotspotType string `json:"hotspotType"`
- Hyperlink string `json:"hyperlink"`
- Icontype string `json:"icontype"`
- Image []interface{} `json:"image"`
- ImageTextInfo struct {
- Audio struct{} `json:"audio"`
- ImageList []struct {
- Ancestors string `json:"ancestors"`
- CreateTime string `json:"createTime"`
- DirID int64 `json:"dirId"`
- DirName string `json:"dirName"`
- Dpi string `json:"dpi"`
- FileName string `json:"fileName"`
- FileSize string `json:"fileSize"`
- Icon string `json:"icon"`
- ID int64 `json:"id"`
- MaterialType string `json:"materialType"`
- Name string `json:"name"`
- OssPath string `json:"ossPath"`
- PreviewIcon string `json:"previewIcon"`
- SceneCode string `json:"sceneCode"`
- Status int64 `json:"status"`
- TempID string `json:"tempId"`
- Type string `json:"type"`
- UpdateTime string `json:"updateTime"`
- UserID string `json:"userId"`
- } `json:"imageList"`
- IsApplyToAll bool `json:"isApplyToAll"`
- Text string `json:"text"`
- } `json:"imageTextInfo"`
- Img string `json:"img"`
- Link string `json:"link"`
- Name string `json:"name"`
- PdfInfo struct {
- Name string `json:"name"`
- URL string `json:"url"`
- } `json:"pdfInfo"`
- PersonalizedTagInfo struct {
- BorderColor string `json:"borderColor"`
- FillColor string `json:"fillColor"`
- IsShowLine bool `json:"isShowLine"`
- IsTextWrap bool `json:"isTextWrap"`
- LineDirection string `json:"lineDirection"`
- TextColor string `json:"textColor"`
- TextDirection string `json:"textDirection"`
- TextNumPerLine int64 `json:"textNumPerLine"`
- } `json:"personalizedTagInfo"`
- PhoneInfo struct {
- Phone string `json:"phone"`
- } `json:"phoneInfo"`
- Secne struct {
- Category string `json:"category"`
- CustomMask struct {
- Earth struct {
- Antidistorted bool `json:"antidistorted"`
- FodderID string `json:"fodderId"`
- Icon string `json:"icon"`
- IsShow bool `json:"isShow"`
- Scale int64 `json:"scale"`
- } `json:"earth"`
- Sky struct {
- Antidistorted bool `json:"antidistorted"`
- FodderID string `json:"fodderId"`
- Icon string `json:"icon"`
- IsShow bool `json:"isShow"`
- Scale int64 `json:"scale"`
- } `json:"sky"`
- } `json:"customMask"`
- Icon string `json:"icon"`
- ID string `json:"id"`
- InitVisual struct {
- Hlookat float64 `json:"hlookat"`
- Vlookat float64 `json:"vlookat"`
- Vlookatmax float64 `json:"vlookatmax"`
- Vlookatmin float64 `json:"vlookatmin"`
- } `json:"initVisual"`
- MaterialType string `json:"materialType"`
- SceneCode string `json:"sceneCode"`
- SceneTitle string `json:"sceneTitle"`
- SomeData struct{} `json:"someData"`
- Type string `json:"type"`
- Version string `json:"version"`
- } `json:"secne"`
- SerialFrameInfo struct {
- Duration int64 `json:"duration"`
- FrameNumber int64 `json:"frameNumber"`
- Img string `json:"img"`
- } `json:"serialFrameInfo"`
- Size json.Number `json:"size"`
- Textarea string `json:"textarea"`
- TitleDisplayMode string `json:"titleDisplayMode"`
- TitlePosition string `json:"titlePosition"`
- Type string `json:"type"`
- Video string `json:"video"`
- } `json:"hotspots"`
- } `json:"someData"`
- Type string `json:"type"`
- Version string `json:"version"`
- } `json:"scenes"`
- Share string `json:"share"`
- Status int64 `json:"status"`
- UpdateTime string `json:"updateTime"`
- UserID string `json:"userId"`
- }
|