|
@@ -33,9 +33,11 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
+import javax.imageio.IIOException;
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.transaction.Transactional;
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
+import java.io.IOException;
|
|
|
import java.util.*;
|
|
|
|
|
|
|
|
@@ -197,11 +199,13 @@ public class SecondHandServiceImpl extends IBaseServiceImpl<SecondHandEntity, St
|
|
|
// 二手房信息更新到房车宝
|
|
|
updateSecondHandInfoToFcb(entity);
|
|
|
|
|
|
- } catch (Exception e) {
|
|
|
+ log.info("二手房全景图上传完成:{}", sceneCode);
|
|
|
+ return Result.success(entity);
|
|
|
+ } catch (IOException e) {
|
|
|
+ log.error("二手房全景图上传出现异常了");
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
- log.info("二手房全景图上传完成:{}", sceneCode);
|
|
|
- return Result.success(entity);
|
|
|
+ return null;
|
|
|
}
|
|
|
|
|
|
|