update
This commit is contained in:
parent
c18b402a63
commit
90af00b235
@ -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) {
|
||||
|
@ -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());
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user