Commit 3285a53e authored by libin's avatar libin

上传包的修改

parent 3a052205
......@@ -67,9 +67,9 @@ public class FileUploadServiceImpl implements FileUploadService {
if (path.contains(".apk")){
Runtime runtime = Runtime.getRuntime();
//删除包
runtime.exec("rm -rf "+uploadPath+"/xxfc.apk");
runtime.exec("rm -rf "+uploadPath+"/xxfc.apk");
//复制包
runtime.exec("cp -f "+uploadPath+path+" "+uploadPath+"/xxfc.apk");
runtime.exec("cp -f "+uploadPath+path+" "+uploadPath+"/xxfc.apk");
}
return ObjectRestResponse.succ(path);
}else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment