|
@@ -17,7 +17,7 @@ public class ExportController extends BaseController{
|
|
|
private static final int BUFFER_SIZE = 2 * 1024;
|
|
|
|
|
|
public void index() {
|
|
|
- System.out.println("zzzzzzzzzzzzzzz");
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -47,7 +47,7 @@ public class ExportController extends BaseController{
|
|
|
for (int j = 0; j < index.size(); j++) {
|
|
|
|
|
|
String name = index.getJSONObject(j).getString("name");
|
|
|
- String path = "http://192.168.0.251/obpm"+ index.getJSONObject(j).getString("path");
|
|
|
+ String path = "http://172.22.21.102/obpm"+ index.getJSONObject(j).getString("path");
|
|
|
|
|
|
|
|
|
downLoadFromUrl(path, name, PathKit.getWebRootPath()+"/download/"+sdf.format(dt)+"/",accessToken);
|
|
@@ -78,9 +78,9 @@ public class ExportController extends BaseController{
|
|
|
|
|
|
|
|
|
|
|
|
- System.out.println(" 下载======"+ "http://192.168.0.102:9999/upload/"+sdf.format(dt)+".zip");
|
|
|
+
|
|
|
|
|
|
- renderJson("{'url':'http://192.168.0.102:9999/upload/"+sdf.format(dt)+".zip'}");
|
|
|
+ renderJson("{'url':'http://172.22.21.102/liug/upload/"+sdf.format(dt)+".zip'}");
|
|
|
}
|
|
|
|
|
|
* 网络Url下载文件
|