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
331ff5b5
Commit
331ff5b5
authored
Mar 14, 2020
by
renjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户字段添加
parent
9dd34cab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
Account.java
...java/com/edgec/browserbackend/account/domain/Account.java
+15
-0
AccountDto.java
...a/com/edgec/browserbackend/account/domain/AccountDto.java
+11
-0
No files found.
src/main/java/com/edgec/browserbackend/account/domain/Account.java
View file @
331ff5b5
...
...
@@ -108,6 +108,13 @@ public class Account {
private
int
shopCount
=
0
;
private
List
<
String
>
queryIpUrlList
=
Arrays
.
asList
(
"http://lumtest.com/myip.json"
,
"http://api.myip.com"
,
"http://free.ipwhois.io/json/"
,
"https://freegeoip.app/json/"
);
public
Date
getSignupDate
()
{
return
signupDate
;
}
...
...
@@ -292,4 +299,12 @@ public class Account {
public
void
setComment
(
String
comment
)
{
this
.
comment
=
comment
;
}
public
List
<
String
>
getQueryIpUrlList
()
{
return
queryIpUrlList
;
}
public
void
setQueryIpUrlList
(
List
<
String
>
queryIpUrlList
)
{
this
.
queryIpUrlList
=
queryIpUrlList
;
}
}
src/main/java/com/edgec/browserbackend/account/domain/AccountDto.java
View file @
331ff5b5
...
...
@@ -42,6 +42,8 @@ public class AccountDto {
private
ShopSummary
shopSummary
;
private
List
<
String
>
queryIpUrlList
;
public
AccountDto
(){
}
...
...
@@ -57,6 +59,7 @@ public class AccountDto {
this
.
setToken
(
account
.
getToken
());
this
.
setPermission
(
account
.
getPermission
());
this
.
setWhiteList
(
account
.
getWhiteList
());
this
.
setQueryIpUrlList
(
account
.
getQueryIpUrlList
());
}
public
boolean
isPrePaid
()
{
...
...
@@ -195,4 +198,12 @@ public class AccountDto {
public
void
setShopSummary
(
ShopSummary
shopSummary
)
{
this
.
shopSummary
=
shopSummary
;
}
public
List
<
String
>
getQueryIpUrlList
()
{
return
queryIpUrlList
;
}
public
void
setQueryIpUrlList
(
List
<
String
>
queryIpUrlList
)
{
this
.
queryIpUrlList
=
queryIpUrlList
;
}
}
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