|
@@ -655,7 +655,8 @@ public class SceneDownloadHandlerServiceImpl {
|
|
|
}else{
|
|
|
// HttpUtil.downloadFile(url, String.format(sourceLocal, num, prefix + key));
|
|
|
try {
|
|
|
- this.downloadFile(url, String.format(sourceLocal, num, prefix + key));
|
|
|
+ fYunFileService.downloadFileByCommand(String.format(sourceLocal, num, prefix + key), key);
|
|
|
+// this.downloadFile(url, String.format(sourceLocal, num, prefix + key));
|
|
|
}catch (Exception e){
|
|
|
log.info("下载文件报错,path:{}", String.format(sourceLocal, num, prefix + key));
|
|
|
log.error("下载oss文件出错",e);
|