Browse Source

企业logo数据不一致

dengsixing 1 year ago
parent
commit
cbf1aedc3a

+ 0 - 1
src/main/java/com/fdkankan/contro/service/impl/CommonServiceImpl.java

@@ -480,7 +480,6 @@ public class CommonServiceImpl implements ICommonService {
                     fYunFileServiceInterface.downloadFile(company.getFloorLogo().substring(1), localLogoPath);
                     fYunFileServiceInterface.downloadFile(company.getFloorLogo().substring(1), localLogoPath);
                 }
                 }
                 localLogoPath = ConstantFilePath.AGENT_PATH + company.getFloorLogo().substring(company.getFloorLogo().lastIndexOf("//") + 1);
                 localLogoPath = ConstantFilePath.AGENT_PATH + company.getFloorLogo().substring(company.getFloorLogo().lastIndexOf("//") + 1);
-                HttpUtil.downloadFile(company.getFloorLogo(), localLogoPath);
                 fYunFileServiceInterface.uploadFile(localLogoPath, userViewPath + "floorLogo-user.png");
                 fYunFileServiceInterface.uploadFile(localLogoPath, userViewPath + "floorLogo-user.png");
                 fYunFileServiceInterface.uploadFile(localLogoPath, userEditPath + "floorLogo-user.png");
                 fYunFileServiceInterface.uploadFile(localLogoPath, userEditPath + "floorLogo-user.png");
                 sceneJson.setFloorLogo("user");
                 sceneJson.setFloorLogo("user");