|
@@ -64,10 +64,10 @@ public class ProduceServiceImpl implements ProducerService {
|
|
|
log.info("全景图保存路径: {}", savePath);
|
|
|
FileUtil.writeFromStream(file.getInputStream(), savePath);
|
|
|
|
|
|
- //生成预览图、固定命名
|
|
|
- ImgUtil.compressImg(savePath, "/preview.jpg", 1920, 960);
|
|
|
- //生成缩略图
|
|
|
- ImgUtil.compressImg(savePath, "/thumb.jpg", 100, 100);
|
|
|
+// //生成预览图、固定命名
|
|
|
+// ImgUtil.compressImg(savePath, "/preview.jpg", 1920, 960);
|
|
|
+// //生成缩略图
|
|
|
+// ImgUtil.compressImg(savePath, "/thumb.jpg", 100, 100);
|
|
|
|
|
|
FodderEntity entity = new FodderEntity();
|
|
|
entity.setFileName(file.getOriginalFilename());
|