|
|
|
@ -107,12 +107,13 @@ public class TerminalPhotoServiceImpl implements TerminalPhotoService {
|
|
|
|
|
photoBean.setChannelId(item.getChannelId());
|
|
|
|
|
photoBean.setFileSize(item.getFileSize());
|
|
|
|
|
photoBean.setHeight(item.getHeight());
|
|
|
|
|
photoBean.setMediaType(item.getMediaType());
|
|
|
|
|
if (item.getMediaType() == 0) {
|
|
|
|
|
photoBean.setPath(photoaddress + item.getPath());
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
photoBean.setPath(videoaddress + item.getPath());
|
|
|
|
|
if (item.getThumb() != null) {
|
|
|
|
|
if (StringUtils.isNotBlank(item.getThumb())) {
|
|
|
|
|
photoBean.setThumb(videoaddress + item.getThumb());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|