Update ali error msg
This commit is contained in:
parent
4b1e927bfa
commit
90ec9167bf
|
|
@ -120,6 +120,7 @@ public class Ali {
|
||||||
vod.setVodContent(url);
|
vod.setVodContent(url);
|
||||||
vod.setVodPic(object.getString("avatar"));
|
vod.setVodPic(object.getString("avatar"));
|
||||||
vod.setVodName(object.getString("share_name"));
|
vod.setVodName(object.getString("share_name"));
|
||||||
|
if (sourceUrls.isEmpty()) Init.show("來晚啦,該分享已失效。");
|
||||||
vod.setVodPlayUrl(TextUtils.join("$$$", sourceUrls));
|
vod.setVodPlayUrl(TextUtils.join("$$$", sourceUrls));
|
||||||
vod.setVodPlayFrom("原畫$$$普畫");
|
vod.setVodPlayFrom("原畫$$$普畫");
|
||||||
vod.setTypeName("阿里雲盤");
|
vod.setTypeName("阿里雲盤");
|
||||||
|
|
@ -216,6 +217,7 @@ public class Ali {
|
||||||
String json = post("v2/share_link/get_share_token", body);
|
String json = post("v2/share_link/get_share_token", body);
|
||||||
return new JSONObject(json).getString("share_token");
|
return new JSONObject(json).getString("share_token");
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
|
Init.show("來晚啦,該分享已失效。");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
460ee32a20c159a8c25a0755d3a1fc19
|
3324dc756e8db4f976917861d81e999e
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue