Commit d75f0549 authored by renjie's avatar renjie

字段拼写错误修改

parent 76d2b89a
......@@ -31,7 +31,7 @@ public class IpResourceDto {
private List<String> proxyProtocol;
private List<String> proxyPort;
private String speicalLineIp;
private String specialLineIp;
public IpResourceDto(){
}
......@@ -58,7 +58,7 @@ public class IpResourceDto {
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.addr = ipResource.getAddr();
this.vendor = ipResource.getVendor();
......@@ -73,11 +73,11 @@ public class IpResourceDto {
this.protocol = ipResource.getProtocol();
this.proxyUsername = ipResource.getProxyUsername();
this.proxyPassword = ipResource.getProxyPassword();
this.proxyPort = speicalLine.getProxyPort();
this.proxyProtocol = speicalLine.getProxyProtocol();
this.proxyPort = specialLine1.getProxyPort();
this.proxyProtocol = specialLine1.getProxyProtocol();
this.specialLine = ipResource.isSpecialLine();
this.bindShop = shopDto;
this.speicalLineIp = speicalLine.getIp();
this.specialLineIp = specialLine1.getIp();
if (useHistory)
this.bindHistories = ipResource.getBindHistory();
else
......@@ -228,12 +228,12 @@ public class IpResourceDto {
this.proxyProtocol = proxyProtocol;
}
public String getSpeicalLineIp() {
return speicalLineIp;
public String getSpecialLineIp() {
return specialLineIp;
}
public void setSpeicalLineIp(String speicalLineIp) {
this.speicalLineIp = speicalLineIp;
public void setSpecialLineIp(String specialLineIp) {
this.specialLineIp = specialLineIp;
}
public List<String> getProxyPort() {
......
......@@ -70,8 +70,8 @@ public class Set3proxyTask {
bw.flush();
bw.close();
log.info("成功写入文件");
// RemoteShellExecutor remoteShellExecutor = new RemoteShellExecutor(specialLine.getIp(), specialLine, "46xiLgy0xrgEaA1");
// remoteShellExecutor
} catch (Exception e) {
log.error("出错了");
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