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
22140f88
Commit
22140f88
authored
May 06, 2020
by
renjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-zrj' into 'staging'
proxyport See merge request
!36
parents
bc4d726b
b438395c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
23 deletions
+27
-23
IpResource.java
...a/com/edgec/browserbackend/browser/domain/IpResource.java
+10
-11
IpResourceDto.java
...a/com/edgec/browserbackend/browser/dto/IpResourceDto.java
+12
-12
IpResourceServiceImpl.java
...erbackend/browser/service/Impl/IpResourceServiceImpl.java
+5
-0
No files found.
src/main/java/com/edgec/browserbackend/browser/domain/IpResource.java
View file @
22140f88
...
...
@@ -40,8 +40,8 @@ public class IpResource implements Serializable {
//专线数据
private
String
proxyUsername
;
private
String
proxyPassword
;
private
String
proxy
p
rotocol
;
private
List
<
String
>
proxy
p
ort
;
private
String
proxy
P
rotocol
;
private
List
<
String
>
proxy
P
ort
;
private
String
shopId
;
private
String
shopName
;
...
...
@@ -287,20 +287,19 @@ public class IpResource implements Serializable {
this
.
specialLine
=
specialLine
;
}
public
List
<
String
>
getProxy
p
ort
()
{
return
proxy
p
ort
;
public
List
<
String
>
getProxy
P
ort
()
{
return
proxy
P
ort
;
}
public
void
setProxy
port
(
List
<
String
>
proxyp
ort
)
{
this
.
proxy
port
=
proxyp
ort
;
public
void
setProxy
Port
(
List
<
String
>
proxyP
ort
)
{
this
.
proxy
Port
=
proxyP
ort
;
}
public
String
getProxy
p
rotocol
()
{
return
proxy
p
rotocol
;
public
String
getProxy
P
rotocol
()
{
return
proxy
P
rotocol
;
}
public
void
setProxy
protocol
(
String
proxyp
rotocol
)
{
this
.
proxy
protocol
=
proxyp
rotocol
;
public
void
setProxy
Protocol
(
String
proxyP
rotocol
)
{
this
.
proxy
Protocol
=
proxyP
rotocol
;
}
}
src/main/java/com/edgec/browserbackend/browser/dto/IpResourceDto.java
View file @
22140f88
...
...
@@ -28,8 +28,8 @@ public class IpResourceDto {
//专线数据
private
String
proxyUsername
;
private
String
proxyPassword
;
private
String
proxy
p
rotocol
;
private
List
<
String
>
proxy
p
ort
;
private
String
proxy
P
rotocol
;
private
List
<
String
>
proxy
P
ort
;
public
IpResourceDto
(){
}
...
...
@@ -49,8 +49,8 @@ public class IpResourceDto {
this
.
protocol
=
ipResource
.
getProtocol
();
this
.
proxyUsername
=
ipResource
.
getProxyUsername
();
this
.
proxyPassword
=
ipResource
.
getProxyPassword
();
this
.
proxy
port
=
ipResource
.
getProxyp
ort
();
this
.
proxy
protocol
=
ipResource
.
getProxyp
rotocol
();
this
.
proxy
Port
=
ipResource
.
getProxyP
ort
();
this
.
proxy
Protocol
=
ipResource
.
getProxyP
rotocol
();
this
.
specialLine
=
ipResource
.
isSpecialLine
();
this
.
bindShop
=
shopDto
;
if
(
useHistory
)
...
...
@@ -195,19 +195,19 @@ public class IpResourceDto {
this
.
specialLine
=
specialLine
;
}
public
List
<
String
>
getProxyport
()
{
return
proxy
port
;
public
String
getProxyProtocol
()
{
return
proxy
Protocol
;
}
public
void
setProxy
port
(
List
<
String
>
proxyport
)
{
this
.
proxy
port
=
proxyport
;
public
void
setProxy
Protocol
(
String
proxyProtocol
)
{
this
.
proxy
Protocol
=
proxyProtocol
;
}
public
String
getProxyprotocol
()
{
return
proxy
protocol
;
public
List
<
String
>
getProxyPort
()
{
return
proxy
Port
;
}
public
void
setProxy
protocol
(
String
proxyprotocol
)
{
this
.
proxy
protocol
=
proxyprotocol
;
public
void
setProxy
Port
(
List
<
String
>
proxyPort
)
{
this
.
proxy
Port
=
proxyPort
;
}
}
src/main/java/com/edgec/browserbackend/browser/service/Impl/IpResourceServiceImpl.java
View file @
22140f88
...
...
@@ -150,6 +150,11 @@ public class IpResourceServiceImpl implements IpResourceService {
return
retStr
;
}
// public static void main(String[] args) {
// String password = genRandom(3, 12);
// System.out.println(password);
// }
private
IpChargeRequestDto
buildIpChargeRequestDto
(
IpResourceRequestDto
request
,
int
chargeType
,
int
payMethod
)
{
IpChargeRequestDto
ipChargeRequestDto
=
new
IpChargeRequestDto
();
ipChargeRequestDto
.
setAmount
(
request
.
getAmount
());
...
...
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