!124 【修复】分销用户绑定时判断是否为新用户逻辑错误问题

Merge pull request !124 from 孙南北/master-jdk17
pull/126/head
芋道源码 2024-07-07 01:45:42 +00:00 committed by Gitee
commit e45ccc9e8a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ public class BrokerageUserServiceImpl implements BrokerageUserService {
*/
private boolean isNewRegisterUser(Long userId) {
MemberUserRespDTO user = memberUserApi.getUser(userId).getCheckedData();
return user != null && LocalDateTimeUtils.beforeNow(user.getCreateTime().plusSeconds(30));
return user != null && LocalDateTimeUtils.afterNow(user.getCreateTime().plusSeconds(30));
}
private void validateCanBindUser(BrokerageUserDO user, Long bindUserId) {