| | |
| | |
|
| | | import com.fgkj.dao.DAOHelper;
|
| | | import com.fgkj.dao.UinfDaoFactory;
|
| | | import com.fgkj.dto.BattInf; |
| | | import com.fgkj.dto.ImageSize;
|
| | | import com.fgkj.dto.MyFile;
|
| | | import com.fgkj.dto.ServiceModel;
|
| | |
| | | }
|
| | |
|
| | | //上传机房视频接口
|
| | | /*public String uploadStationFile(){
|
| | | public String uploadStationFile(){ |
| | | BattInf binf = getGson().fromJson(json, BattInf.class);
|
| | | String fileRoot = "stationsrc";
|
| | | ServiceModel model = new ServiceModel();
|
| | |
| | | result = tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | */
|
| | | |
| | | /**
|
| | | *
|
| | | * 获取指定机房得资源
|
| | | */
|
| | | /*public String searchStationSource(){
|
| | | public String searchStationSource(){ |
| | | String fileRoot = "stationsrc"; //存放机房资源文件的文件夹
|
| | | BattInf binf = getGson().fromJson(json, BattInf.class);
|
| | | ServiceModel model = new ServiceModel();
|
| | |
| | | }
|
| | | result = tojson(model);
|
| | | return SUCCESS;
|
| | | }*/
|
| | | } |
| | |
|
| | | //将文件复制到指定的目录
|
| | | public static void copyFile(File oldFile, String newPath){
|