王苗苗 4 днів тому
батько
коміт
3b3e72a7b6

+ 2 - 1
slibra-admin/src/main/java/com/slibra/web/controller/business/TCallRecordController.java

@@ -234,7 +234,8 @@ public class TCallRecordController extends BaseController
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
         try (ZipOutputStream zipOutputStream = new ZipOutputStream(byteArrayOutputStream)) {
             for (String fileName : fileNames) {
-                File file = new File(FILE_STORAGE_LOCATION + fileName);
+//                File file = new File(FILE_STORAGE_LOCATION + fileName);
+                File file = new File(fileName);
                 if (!file.exists()) {
                     logger.error("File not found: " + fileName);
                     continue;//查询其他的