Commit 9bc30048 authored by huangjiamin's avatar huangjiamin

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

parent e6b45b79
...@@ -359,6 +359,9 @@ public class AccountServiceImpl implements AccountService { ...@@ -359,6 +359,9 @@ public class AccountServiceImpl implements AccountService {
current.setQueryIpUrlList(queryIpUrlList); current.setQueryIpUrlList(queryIpUrlList);
current.setWhiteList(whiteList); current.setWhiteList(whiteList);
List<String> ownWhiteList = current.getOwnWhiteList();
ownWhiteList.addAll(whiteList);
current.setOwnWhiteList(ownWhiteList);
if (account.getPromotion() != null) { if (account.getPromotion() != null) {
int invitedUsers = accountRepository.countByPromotionCodeAndParentIsNull(account.getPromotion().getCode()); int invitedUsers = accountRepository.countByPromotionCodeAndParentIsNull(account.getPromotion().getCode());
......
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