| | |
| | | String str = new File(loadpath).getParentFile().getAbsolutePath();
|
| | | if(binf != null && binf.getStationId() != null && binf.getStationName() != null){
|
| | | String filesource = str+File.separator+fileRoot+File.separator+binf.getStationId()+File.separator+binf.getStationName()+File.separator; //当前请求的机房所在的资源文件夹
|
| | | System.out.println(filesource);
|
| | | //System.out.println(filesource);
|
| | | File source = new File(filesource);
|
| | | File[] files = source.listFiles();
|
| | | model.setMsg("暂无视频文件");
|
| | | if(files.length>0){
|
| | | if(files!=null && files.length>0){
|
| | | List myfiles = new ArrayList<MyFile>();
|
| | | for(int i=0;i<files.length;i++){
|
| | | MyFile myfile = new MyFile();
|