|
@@ -442,6 +442,8 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
fYunFileService.uploadFile(localLogoPath, userViewPath + "loadingLogo-user.png");
|
|
fYunFileService.uploadFile(localLogoPath, userViewPath + "loadingLogo-user.png");
|
|
sceneJson.setLoadingLogo("user");
|
|
sceneJson.setLoadingLogo("user");
|
|
sceneJson.setLoadingLogoFile("loadingLogo-user.png");
|
|
sceneJson.setLoadingLogoFile("loadingLogo-user.png");
|
|
|
|
+ sceneEditInfo.setLoadingLogo("user");
|
|
|
|
+ sceneEditInfo.setLoadingLogoFile("floorLogo-user.png");
|
|
}
|
|
}
|
|
if (StrUtil.isNotEmpty(company.getFloorLogo())) {
|
|
if (StrUtil.isNotEmpty(company.getFloorLogo())) {
|
|
localLogoPath = ConstantFilePath.AGENT_PATH + company.getFloorLogo().substring(company.getFloorLogo().lastIndexOf("//") + 1);
|
|
localLogoPath = ConstantFilePath.AGENT_PATH + company.getFloorLogo().substring(company.getFloorLogo().lastIndexOf("//") + 1);
|
|
@@ -449,8 +451,12 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
fYunFileService.uploadFile(localLogoPath, userViewPath + "floorLogo-user.png");
|
|
fYunFileService.uploadFile(localLogoPath, userViewPath + "floorLogo-user.png");
|
|
sceneJson.setFloorLogo("user");
|
|
sceneJson.setFloorLogo("user");
|
|
sceneJson.setFloorLogoFile("floorLogo-user.png");
|
|
sceneJson.setFloorLogoFile("floorLogo-user.png");
|
|
|
|
+
|
|
|
|
+ sceneEditInfo.setFloorLogo("user");
|
|
|
|
+ sceneEditInfo.setFloorLogoFile("floorLogo-user.png");
|
|
}
|
|
}
|
|
if(!ObjectUtils.isEmpty(localLogoPath)){
|
|
if(!ObjectUtils.isEmpty(localLogoPath)){
|
|
|
|
+ sceneEditInfoService.updateById(sceneEditInfo);
|
|
FileUtils.deleteFile(localLogoPath);
|
|
FileUtils.deleteFile(localLogoPath);
|
|
}
|
|
}
|
|
}
|
|
}
|