|
@@ -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);
|
|
|
|