diff --git a/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java b/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java index 9344bf0..483bd44 100644 --- a/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java +++ b/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java @@ -324,7 +324,9 @@ public class CMSJournalService { response.setTitle(journal.getTitle()); response.setTag(journalTagDao.findTagsByJournalId(id)); response.setUserId(journal.getUserId()); - response.setImage(Constants.MUSIC_RESOURCE_PREFIX + journal.getImage()); + if (StringUtils.isNotBlank(journal.getImage())) { + response.setImage(Constants.MUSIC_RESOURCE_PREFIX + journal.getImage()); + } response.setSongs(journalSongInfo(journal.getJournalNo())); response.setContent(journal.getContent()); return Result.success(response);