From dff60bc721754a09fc2cd530bb75aa7bf9c01810 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 28 四月 2021 19:49:44 +0800 Subject: [PATCH] Bilibili集成完善 --- src/main/java/com/yeshi/buwan/videos/bilibili/entity/BilibiliMediaInfo.java | 77 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 77 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/videos/bilibili/entity/BilibiliMediaInfo.java b/src/main/java/com/yeshi/buwan/videos/bilibili/entity/BilibiliMediaInfo.java index bc09d01..cff19a3 100644 --- a/src/main/java/com/yeshi/buwan/videos/bilibili/entity/BilibiliMediaInfo.java +++ b/src/main/java/com/yeshi/buwan/videos/bilibili/entity/BilibiliMediaInfo.java @@ -31,6 +31,7 @@ * total : 24 * type : 4 * mediaRating : {"count":17848,"score":9.1} + * pubInfo : {"is_finish":1,"is_started":1,"pub_time":"2021-04-26 19:00:00","pub_time_show":"04鏈�26鏃�19:00","unknow_pub_date":0,"weekday":0} * newestEp : {"desc":"宸插畬缁�, 鍏�24璇�","id":96832,"is_new":0,"title":"24"} */ @@ -57,6 +58,8 @@ private Integer type; private MediaRatingBean mediaRating; private NewestEpBean newestEp; + private PubInfoBean pubInfo;//鍙戝竷淇℃伅 + @Transient private List<BilibiliEpInfo> epList; @@ -249,6 +252,14 @@ this.newestEp = newestEp; } + public PubInfoBean getPubInfo() { + return pubInfo; + } + + public void setPubInfo(PubInfoBean pubInfo) { + this.pubInfo = pubInfo; + } + public static class SeriesBean { /** * series_id : 2272 @@ -346,4 +357,70 @@ this.title = title; } } + + public static class PubInfoBean { + /** + * is_finish : 1 + * is_started : 1 + * pub_time : 2021-04-26 19:00:00 + * pub_time_show : 04鏈�26鏃�19:00 + * unknow_pub_date : 0 + * weekday : 0 + */ + + private int is_finish; + private int is_started; + private String pub_time; + private String pub_time_show; + private int unknow_pub_date; + private int weekday; + + public int getIs_finish() { + return is_finish; + } + + public void setIs_finish(int is_finish) { + this.is_finish = is_finish; + } + + public int getIs_started() { + return is_started; + } + + public void setIs_started(int is_started) { + this.is_started = is_started; + } + + public String getPub_time() { + return pub_time; + } + + public void setPub_time(String pub_time) { + this.pub_time = pub_time; + } + + public String getPub_time_show() { + return pub_time_show; + } + + public void setPub_time_show(String pub_time_show) { + this.pub_time_show = pub_time_show; + } + + public int getUnknow_pub_date() { + return unknow_pub_date; + } + + public void setUnknow_pub_date(int unknow_pub_date) { + this.unknow_pub_date = unknow_pub_date; + } + + public int getWeekday() { + return weekday; + } + + public void setWeekday(int weekday) { + this.weekday = weekday; + } + } } -- Gitblit v1.8.0