Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
browser-backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
browser-backend
Commits
d75f0549
Commit
d75f0549
authored
May 06, 2020
by
renjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字段拼写错误修改
parent
76d2b89a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
IpResourceDto.java
...a/com/edgec/browserbackend/browser/dto/IpResourceDto.java
+9
-9
Set3proxyTask.java
.../com/edgec/browserbackend/browser/task/Set3proxyTask.java
+2
-2
No files found.
src/main/java/com/edgec/browserbackend/browser/dto/IpResourceDto.java
View file @
d75f0549
...
...
@@ -31,7 +31,7 @@ public class IpResourceDto {
private
List
<
String
>
proxyProtocol
;
private
List
<
String
>
proxyPort
;
private
String
spe
ic
alLineIp
;
private
String
spe
ci
alLineIp
;
public
IpResourceDto
(){
}
...
...
@@ -58,7 +58,7 @@ public class IpResourceDto {
this
.
bindHistories
=
new
ArrayList
<>();
}
public
IpResourceDto
(
IpResource
ipResource
,
ShopDto
shopDto
,
boolean
useHistory
,
SpecialLine
spe
icalLine
){
public
IpResourceDto
(
IpResource
ipResource
,
ShopDto
shopDto
,
boolean
useHistory
,
SpecialLine
spe
cialLine1
){
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
=
spe
icalLine
.
getProxyPort
();
this
.
proxyProtocol
=
spe
icalLine
.
getProxyProtocol
();
this
.
proxyPort
=
spe
cialLine1
.
getProxyPort
();
this
.
proxyProtocol
=
spe
cialLine1
.
getProxyProtocol
();
this
.
specialLine
=
ipResource
.
isSpecialLine
();
this
.
bindShop
=
shopDto
;
this
.
spe
icalLineIp
=
speicalLine
.
getIp
();
this
.
spe
cialLineIp
=
specialLine1
.
getIp
();
if
(
useHistory
)
this
.
bindHistories
=
ipResource
.
getBindHistory
();
else
...
...
@@ -228,12 +228,12 @@ public class IpResourceDto {
this
.
proxyProtocol
=
proxyProtocol
;
}
public
String
getSpe
ic
alLineIp
()
{
return
spe
ic
alLineIp
;
public
String
getSpe
ci
alLineIp
()
{
return
spe
ci
alLineIp
;
}
public
void
setSpe
icalLineIp
(
String
speic
alLineIp
)
{
this
.
spe
icalLineIp
=
speic
alLineIp
;
public
void
setSpe
cialLineIp
(
String
speci
alLineIp
)
{
this
.
spe
cialLineIp
=
speci
alLineIp
;
}
public
List
<
String
>
getProxyPort
()
{
...
...
src/main/java/com/edgec/browserbackend/browser/task/Set3proxyTask.java
View file @
d75f0549
...
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment