Closed Bank5y closed 11 months ago
报错代码 An error occurred: json: cannot unmarshal array into Go struct field V1ArticleResponse.data of type struct { ArticleContent string "json:\"article_content\""; ArticleTitle string "json:\"article_title\""; InlineVideoSubtitles []struct { VideoURL string "json:\"video_url\""; VideoFreeURL string "json:\"video_free_url\""; VideoVid string "json:\"video_vid\""; VideoSubtitle string "json:\"video_subtitle\""; VideoFreeVid string "json:\"video_free_vid\""; VideoFreeSubtitle string "json:\"video_free_subtitle\"" } "json:\"inline_video_subtitles\""; AudioDownloadURL string "json:\"audio_download_url\"" }
可以试试 0.10.6-beta 这个版本
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
报错代码 An error occurred: json: cannot unmarshal array into Go struct field V1ArticleResponse.data of type struct { ArticleContent string "json:\"article_content\""; ArticleTitle string "json:\"article_title\""; InlineVideoSubtitles []struct { VideoURL string "json:\"video_url\""; VideoFreeURL string "json:\"video_free_url\""; VideoVid string "json:\"video_vid\""; VideoSubtitle string "json:\"video_subtitle\""; VideoFreeVid string "json:\"video_free_vid\""; VideoFreeSubtitle string "json:\"video_free_subtitle\"" } "json:\"inline_video_subtitles\""; AudioDownloadURL string "json:\"audio_download_url\"" }