81041
2019-12-31 489609342955a0a99b9c8217584876305dfad678
视频图片上传
1个文件已修改
9 ■■■■■ 已修改文件
Device_Manage/src/com/fgkj/actions/MyFileAction.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Device_Manage/src/com/fgkj/actions/MyFileAction.java
@@ -21,6 +21,7 @@
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;
@@ -190,7 +191,7 @@
    }
    
    //上传机房视频接口
    /*public String uploadStationFile(){
    public String uploadStationFile(){
        BattInf binf = getGson().fromJson(json, BattInf.class);
        String fileRoot = "stationsrc";
        ServiceModel model = new ServiceModel();    
@@ -214,12 +215,12 @@
        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();
@@ -254,7 +255,7 @@
        }
        result = tojson(model);
        return SUCCESS;
    }*/
    }
    
    //将文件复制到指定的目录
    public static void copyFile(File oldFile, String newPath){