Commit 9133c5f4 authored by huangjiamin's avatar huangjiamin

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

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