From fad0d313326ee389b2319b8bda13ebc8fc79f261 Mon Sep 17 00:00:00 2001 From: Gary Date: Thu, 8 Feb 2024 01:04:05 +0800 Subject: [PATCH] 1.update song id setting --- .../src/main/java/com/luoo/music/dto/mapper/SongMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luoo_music/src/main/java/com/luoo/music/dto/mapper/SongMapper.java b/luoo_music/src/main/java/com/luoo/music/dto/mapper/SongMapper.java index d93eb1d..daa9aee 100644 --- a/luoo_music/src/main/java/com/luoo/music/dto/mapper/SongMapper.java +++ b/luoo_music/src/main/java/com/luoo/music/dto/mapper/SongMapper.java @@ -14,7 +14,7 @@ public class SongMapper { songRespDTO.setJournalNo(song.getJournalNo()); songRespDTO.setAlbum(song.getAlbum()); songRespDTO.setArtist(song.getArtist()); - songRespDTO.setId(song.getId()); + songRespDTO.setId(song.getSongId()); songRespDTO.setTitle(song.getName()); songRespDTO.setSrc(Constants.RESOURCE_PREFIX + song.getUrl()); songRespDTO.setPic(Constants.RESOURCE_PREFIX + song.getImage());