刘韬 3 years ago
parent
commit
a9cdb23656
1 changed files with 2 additions and 2 deletions
  1. 2 2
      DataFusion/src/com/zskk/control/ViewController.java

+ 2 - 2
DataFusion/src/com/zskk/control/ViewController.java

@@ -80,8 +80,8 @@ public class ViewController extends Controller {
 			JSONArray array= dService.getImage("CT00043360");
 			for (Object object : array) {
 				JSONObject jsonObject = JSON.parseObject(object.toString());
-				
-				dService.downloadFtpFile(jsonObject.getString("Path"), String.valueOf(array.indexOf(object)));
+				String[] strings = jsonObject.getString("Path").split("\\\\");
+				dService.downloadFtpFile(jsonObject.getString("Path"), strings[1]);
 			}
 			this.renderJson(array);