main
JH 10 months ago
parent 7b10eb03df
commit 8d84c5aec3

@ -324,7 +324,9 @@ public class CMSJournalService {
response.setTitle(journal.getTitle()); response.setTitle(journal.getTitle());
response.setTag(journalTagDao.findTagsByJournalId(id)); response.setTag(journalTagDao.findTagsByJournalId(id));
response.setUserId(journal.getUserId()); response.setUserId(journal.getUserId());
if (StringUtils.isNotBlank(journal.getImage())) {
response.setImage(Constants.MUSIC_RESOURCE_PREFIX + journal.getImage()); response.setImage(Constants.MUSIC_RESOURCE_PREFIX + journal.getImage());
}
response.setSongs(journalSongInfo(journal.getJournalNo())); response.setSongs(journalSongInfo(journal.getJournalNo()));
response.setContent(journal.getContent()); response.setContent(journal.getContent());
return Result.success(response); return Result.success(response);

Loading…
Cancel
Save