|
@@ -186,8 +186,9 @@ public class WorkOfflineListener implements ChannelAwareMessageListener {
|
|
|
if (workNavigationEntity.getType().equalsIgnoreCase("pano")) {
|
|
|
String PanoOssKey = baseOssKey + "/" + workNavigationEntity.getSceneCode();
|
|
|
log.info("下载作品类-全景图:{},下载路径-PanoOssKey", workNavigationEntity.getSceneCode(), PanoOssKey);
|
|
|
+ log.info("下载作品类-全景图:{},下载路径-PanoOssKey,{}", workNavigationEntity.getSceneCode(), PanoOssKey);
|
|
|
if (fileStorageTemplate.getActive().equalsIgnoreCase("aws")){
|
|
|
- OssShUtil.yunDownload(PanoOssKey, basePath + File.separator + baseOssKey+File.separator+workEntity.getId());
|
|
|
+ OssShUtil.yunDownload(PanoOssKey, basePath + File.separator + PanoOssKey);
|
|
|
}else {
|
|
|
OssShUtil.yunDownload(PanoOssKey, basePath + File.separator + baseOssKey);
|
|
|
}
|