|
|
|
@@ -137,8 +137,8 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
pDest.mkdirs(); |
|
|
|
} |
|
|
|
try { |
|
|
|
//downLoadFromUrl(wxRentContract.getFilepath(),filename,filepath); |
|
|
|
FileUtils.copyURLToFile(new URL(wxRentContract.getFilepath()),dest); |
|
|
|
downLoadFromUrl(wxRentContract.getFilepath(),filename,filepath); |
|
|
|
//FileUtils.copyURLToFile(new URL(wxRentContract.getFilepath()),dest); |
|
|
|
downFile(destPath, filename, response, request); |
|
|
|
org.apache.commons.io.FileUtils.forceDelete(dest); |
|
|
|
} catch (IOException e) { |
|
|
|
|