拉新奖励白名单逻辑去除

This commit is contained in:
tianfeng 2026-03-12 14:12:39 +08:00
parent 5176270766
commit dbca13c418

View File

@ -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));