|
@@ -165,7 +165,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
|
|
|
@Override
|
|
|
public ResultData uploadTagImg(String num, MultipartFile file, String sid, Integer size, Integer tileSize) throws Exception {
|
|
|
- String extName = FileUtil.extName(file.getOriginalFilename());
|
|
|
+ String extName = FileUtil.extName(file.getOriginalFilename()).toLowerCase();
|
|
|
String fragmentPath = String.format(ConstantFilePath.SCENE_USER_PATH_V4, num) + "hot_img_fragment/";
|
|
|
String workPath = fragmentPath + sid;
|
|
|
String dziPath = workPath + ".dzi";
|