main
JH 10 months ago
parent 7b10eb03df
commit 8d84c5aec3

@ -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);

Loading…
Cancel
Save