no message

main
이범준 3 months ago
parent 15fefba146
commit 1abb1324c4

@ -180,7 +180,7 @@ public class NisIndivBean extends AbstractBean {
SFTPUtil sftp = new SFTPUtil();
RemoteSystemInfo rs = new RemoteSystemInfo();
if(isLocal()) {
if(isLocal() || isTestServer()) {
rs.setId("d_user");
rs.setPw("1111");
rs.setIp("211.119.124.122");
@ -207,7 +207,7 @@ public class NisIndivBean extends AbstractBean {
SFTPUtil sftp = new SFTPUtil();
RemoteSystemInfo rs = new RemoteSystemInfo();
if(isLocal()) {
if(isLocal() || isTestServer()) {
rs.setId("d_user");
rs.setPw("1111");
rs.setIp("211.119.124.122");
@ -377,4 +377,11 @@ public class NisIndivBean extends AbstractBean {
return false;
}
}
public boolean isTestServer() {
if(new File("/home/xituser").exists()) {
return true;
} else {
return false;
}
}
}

Loading…
Cancel
Save