diff --git a/src/main/java/com/yutou/tools/utils/RedisTools.java b/src/main/java/com/yutou/tools/utils/RedisTools.java index c77dc33..2079331 100644 --- a/src/main/java/com/yutou/tools/utils/RedisTools.java +++ b/src/main/java/com/yutou/tools/utils/RedisTools.java @@ -278,7 +278,7 @@ public class RedisTools { exec = value; break; case "updateIP": - exec = "python3 /media/yutou/4t/public/Python/tools/ip.py"; + exec = "python3 /media/yutou/disk_lvm/public/Python/tools/ip.py"; break; } if (exec != null) { diff --git a/src/main/java/com/yutou/tools/utils/SFTPTools.java b/src/main/java/com/yutou/tools/utils/SFTPTools.java index 71bc089..4bb0f4a 100644 --- a/src/main/java/com/yutou/tools/utils/SFTPTools.java +++ b/src/main/java/com/yutou/tools/utils/SFTPTools.java @@ -35,7 +35,7 @@ public class SFTPTools { Channel channel = sshSession.openChannel("sftp"); channel.connect(); sftp = (ChannelSftp) channel; - sftp.cd("/media/yutou/4t/public/"); + sftp.cd("/media/yutou/disk_lvm/public/"); } /** * 删除 @@ -75,7 +75,7 @@ public class SFTPTools { //https://www.cnblogs.com/nlpvv/articles/11244553.html public void getPath() { try { - for (Object o : sftp.ls("/media/yutou/4t/public/")) { + for (Object o : sftp.ls("/media/yutou/disk_lvm/public/")) { ChannelSftp.LsEntry entry = (ChannelSftp.LsEntry) o; System.out.println(entry.getFilename() + " size=" + entry.getAttrs().getSize()+" "+entry.getAttrs().isDir()); } diff --git a/web/html/body/nas/music.html b/web/html/body/nas/music.html index 5ee0f49..4f46bc9 100644 --- a/web/html/body/nas/music.html +++ b/web/html/body/nas/music.html @@ -73,7 +73,7 @@ } catch (e) { localhost = "" } - // localhost = "http://113.109.23.240:8000"; + localhost = "http://120.55.85.10:8001"; layui.use(['table', 'element'], function () { let table = layui.table; let element = layui.element;