Commit e6b45b79 authored by huangjiamin's avatar huangjiamin

购买后将海外的IP添加KCP端口号 + own白名单

parent dc530103
...@@ -70,11 +70,11 @@ public class AccountDto { ...@@ -70,11 +70,11 @@ public class AccountDto {
this.setParent(account.getParent()); this.setParent(account.getParent());
this.setToken(account.getToken()); this.setToken(account.getToken());
this.setPermission(account.getPermission()); this.setPermission(account.getPermission());
List<String> whiteList = account.getWhiteList(); this.setWhiteList(account.getWhiteList());
this.setWhiteList(whiteList); List<String> ownWhiteList = new ArrayList<>(account.getWhiteList());
whiteList.add("google.com/recaptcha"); ownWhiteList.add("google.com/recaptcha");
whiteList.add("google.com/js"); ownWhiteList.add("google.com/js");
this.setOwnWhiteList(whiteList); this.setOwnWhiteList(ownWhiteList);
this.setQueryIpUrlList(account.getQueryIpUrlList()); this.setQueryIpUrlList(account.getQueryIpUrlList());
if (account.getPromotion() != null) { if (account.getPromotion() != null) {
this.setPromotion(account.getPromotion()); this.setPromotion(account.getPromotion());
......
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