拉新奖励白名单逻辑去除
This commit is contained in:
parent
5176270766
commit
dbca13c418
@ -109,14 +109,6 @@ public class InviteUserClientServiceImpl implements InviteUserClientService {
|
||||
if (Objects.isNull(result)) {
|
||||
return;
|
||||
}
|
||||
|
||||
String whiteConfig = enumConfigClient.getValue("LOGIN_WHITE_CONFIG", "LIKEI").getBody();
|
||||
List<String> whiteIds = StringUtils.isNotBlank(whiteConfig) ? Arrays.asList(whiteConfig.split(",")) : Collections.emptyList();
|
||||
UserProfile userProfile = userProfileGateway.getByUserId(inviteUserId);
|
||||
if (userProfile == null || !whiteIds.contains(userProfile.getAccount())) {
|
||||
return;
|
||||
}
|
||||
|
||||
checkAndAwardTiers(result);
|
||||
} catch (Exception e) {
|
||||
log.error("被邀请人充值邀请人获得佣金累计错误: {}", Throwables.getStackTraceAsString(e));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user