Commit 331ff5b5 authored by renjie's avatar renjie

用户字段添加

parent 9dd34cab
......@@ -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;
}
}
......@@ -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;
}
}
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