From b7be1f1d8a611b98c51096a99414d2051e70ab67 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Sun, 29 Nov 2020 20:21:08 +0800 Subject: [PATCH] update --- .../com/yutou/nas_music_player/Datas/MusicData.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/yutou/nas_music_player/Datas/MusicData.java b/app/src/main/java/com/yutou/nas_music_player/Datas/MusicData.java index 75a533b..e407530 100644 --- a/app/src/main/java/com/yutou/nas_music_player/Datas/MusicData.java +++ b/app/src/main/java/com/yutou/nas_music_player/Datas/MusicData.java @@ -190,7 +190,7 @@ public class MusicData { return NetworkTool.NetworkAPI.HOME + NetworkTool.NetworkAPI.MUSIC_PLAY + "?random=false&token=" + NetworkTool.NetworkAPI.HTTP_KEY + "&filePath=" + getFileBase64(); } - + @Ignore private boolean isDownloadImg = false; public String getImageUrl() { @@ -358,6 +358,14 @@ public class MusicData { this.md5 = md5; } + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + @Override public boolean equals(@Nullable Object obj) { if (obj instanceof MusicData) {