Update ali error msg

This commit is contained in:
FongMi 2022-11-04 14:15:20 +08:00
parent 4b1e927bfa
commit 90ec9167bf
3 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -1 +1 @@
460ee32a20c159a8c25a0755d3a1fc19 3324dc756e8db4f976917861d81e999e