diff --git a/src/main/java/com/yutou/bilibili/BiliBili/Controllers/BiliVideoController.java b/src/main/java/com/yutou/bilibili/BiliBili/Controllers/BiliVideoController.java index fc1fb40..28d630a 100644 --- a/src/main/java/com/yutou/bilibili/BiliBili/Controllers/BiliVideoController.java +++ b/src/main/java/com/yutou/bilibili/BiliBili/Controllers/BiliVideoController.java @@ -48,7 +48,7 @@ public class BiliVideoController { return json; } if (ServiceTools.getInstance().auth(request, user.getUser(), "/bili/video/get/")) { - File file = new File(ConfigTools.load(ConfigTools.CONFIG,"liveSavePath",String.class)+File.separator+"live"); + File file = new File(ConfigTools.load(ConfigTools.CONFIG,"liveSavePath",String.class)); Log.i(file.getAbsolutePath()); if (!file.exists() || Objects.requireNonNull(file.listFiles()).length == 0) { json.put("code", 0); @@ -111,7 +111,6 @@ public class BiliVideoController { file = new File(ConfigTools.load(ConfigTools.CONFIG,"liveSavePath",String.class)+File.separator+"live" + File.separator + time + File.separator + fileName); } Log.i(file.getAbsolutePath()); - com.yutou.bilibili.Tools.Log.i(file.getAbsolutePath()); return AppTools.getFile(file); } @ResponseBody