1.add duration for journalSong

main
Gary 10 months ago
parent eacd3e3152
commit 8d2f965e61

@ -17,6 +17,7 @@ public class SongMapper {
songRespDTO.setAlbum(song.getAlbum());
songRespDTO.setArtist(song.getArtist());
songRespDTO.setId(song.getJournalNoSongId());
songRespDTO.setDuration(song.getDuration());
songRespDTO.setTitle(song.getName());
songRespDTO.setSrc(Constants.RESOURCE_PREFIX + song.getUrl());
songRespDTO.setPic(Constants.RESOURCE_PREFIX + song.getImage());

@ -28,4 +28,6 @@ public class SongRespDTO implements Serializable {
private Integer songNo;
@ApiModelProperty(value = "已收藏")
private boolean haveCollect;
@ApiModelProperty(value = "歌曲时长")
private String duration;
}

@ -62,4 +62,9 @@ public class JournalSong implements Serializable{
* _ID
*/
private String journalNoSongId;
/**
*
*/
private String duration;
}

Loading…
Cancel
Save