Explorar el Código

[合同管理][修改][下载文件]

release_toaliyun_real
gongbiao hace 7 años
padre
commit
ad8064d800
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java Ver fichero

@@ -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) {


Cargando…
Cancelar
Guardar