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

pull/124/head
孙楠博 2024-06-25 13:54:21 +08:00
parent d1e13f4b82
commit 2414b00083
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) { private boolean isNewRegisterUser(Long userId) {
MemberUserRespDTO user = memberUserApi.getUser(userId).getCheckedData(); 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) { private void validateCanBindUser(BrokerageUserDO user, Long bindUserId) {