From a07e31ebf7f705950001fd18a09bb9ec63c3c17b Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Mon, 11 Apr 2022 12:57:11 +0800 Subject: [PATCH] update --- .../bilibili/BiliBili/Controllers/BiliVideoController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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