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