Commit d75f0549 authored by renjie's avatar renjie

字段拼写错误修改

parent 76d2b89a
...@@ -31,7 +31,7 @@ public class IpResourceDto { ...@@ -31,7 +31,7 @@ public class IpResourceDto {
private List<String> proxyProtocol; private List<String> proxyProtocol;
private List<String> proxyPort; private List<String> proxyPort;
private String speicalLineIp; private String specialLineIp;
public IpResourceDto(){ public IpResourceDto(){
} }
...@@ -58,7 +58,7 @@ public class IpResourceDto { ...@@ -58,7 +58,7 @@ public class IpResourceDto {
this.bindHistories = new ArrayList<>(); this.bindHistories = new ArrayList<>();
} }
public IpResourceDto(IpResource ipResource, ShopDto shopDto, boolean useHistory, SpecialLine speicalLine){ public IpResourceDto(IpResource ipResource, ShopDto shopDto, boolean useHistory, SpecialLine specialLine1){
this.id = ipResource.getId(); this.id = ipResource.getId();
this.addr = ipResource.getAddr(); this.addr = ipResource.getAddr();
this.vendor = ipResource.getVendor(); this.vendor = ipResource.getVendor();
...@@ -73,11 +73,11 @@ public class IpResourceDto { ...@@ -73,11 +73,11 @@ public class IpResourceDto {
this.protocol = ipResource.getProtocol(); this.protocol = ipResource.getProtocol();
this.proxyUsername = ipResource.getProxyUsername(); this.proxyUsername = ipResource.getProxyUsername();
this.proxyPassword = ipResource.getProxyPassword(); this.proxyPassword = ipResource.getProxyPassword();
this.proxyPort = speicalLine.getProxyPort(); this.proxyPort = specialLine1.getProxyPort();
this.proxyProtocol = speicalLine.getProxyProtocol(); this.proxyProtocol = specialLine1.getProxyProtocol();
this.specialLine = ipResource.isSpecialLine(); this.specialLine = ipResource.isSpecialLine();
this.bindShop = shopDto; this.bindShop = shopDto;
this.speicalLineIp = speicalLine.getIp(); this.specialLineIp = specialLine1.getIp();
if (useHistory) if (useHistory)
this.bindHistories = ipResource.getBindHistory(); this.bindHistories = ipResource.getBindHistory();
else else
...@@ -228,12 +228,12 @@ public class IpResourceDto { ...@@ -228,12 +228,12 @@ public class IpResourceDto {
this.proxyProtocol = proxyProtocol; this.proxyProtocol = proxyProtocol;
} }
public String getSpeicalLineIp() { public String getSpecialLineIp() {
return speicalLineIp; return specialLineIp;
} }
public void setSpeicalLineIp(String speicalLineIp) { public void setSpecialLineIp(String specialLineIp) {
this.speicalLineIp = speicalLineIp; this.specialLineIp = specialLineIp;
} }
public List<String> getProxyPort() { public List<String> getProxyPort() {
......
...@@ -70,8 +70,8 @@ public class Set3proxyTask { ...@@ -70,8 +70,8 @@ public class Set3proxyTask {
bw.flush(); bw.flush();
bw.close(); bw.close();
log.info("成功写入文件"); log.info("成功写入文件");
// RemoteShellExecutor remoteShellExecutor = new RemoteShellExecutor(specialLine.getIp(), specialLine, "46xiLgy0xrgEaA1");
// remoteShellExecutor
} catch (Exception e) { } catch (Exception e) {
log.error("出错了"); log.error("出错了");
log.error(e.getMessage()); log.error(e.getMessage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment