|
|
|
@ -53,7 +53,7 @@ public class PictureImgToLocalTask implements Runnable {
|
|
|
|
|
picture.setIsdownload(1);
|
|
|
|
|
try {
|
|
|
|
|
picture.setLocalThumbnailUrl(ImageUtils.generateThumbnail(pictureImgToLocal.getLocalPath(),182));
|
|
|
|
|
picture.setServerThumbnailUrl(ocrPictureService.getServerUrl()+ImageUtils.getFileName(picture.getLocalpictrueurl()));
|
|
|
|
|
picture.setServerThumbnailUrl(ocrPictureService.getServerUrl()+ImageUtils.getFileName(picture.getLocalThumbnailUrl()));
|
|
|
|
|
} catch (IOException e) {
|
|
|
|
|
throw new RuntimeException(e);
|
|
|
|
|
}
|
|
|
|
|