|
@@ -2,7 +2,6 @@ package com.shanghaichengdi.downloadcenterserver.faced;
|
|
|
|
|
|
import com.shanghaichengdi.downloadcentercommon.util.ImageDownload;
|
|
|
import java.io.File;
|
|
|
-import java.io.IOException;
|
|
|
import java.net.URL;
|
|
|
import java.text.ParseException;
|
|
|
import java.text.SimpleDateFormat;
|
|
@@ -50,7 +49,7 @@ public class PicDownloadFaced extends Thread {
|
|
|
boolean isSuccess = false;
|
|
|
URL url = null;
|
|
|
try {
|
|
|
- String photoFile = "/Users/gengaoliu/" + dirs + "/" + "P" + i + "_" + newTime + ".jpg";
|
|
|
+ String photoFile = "/shipAnalysis/HDImages/" + dirs + "/" + "P" + i + "_" + newTime + ".jpg";
|
|
|
while (!isSuccess) {
|
|
|
try {
|
|
|
isSuccess = ImageDownload.download(imageUrl, photoFile);
|