diff --git a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/brokerage/BrokerageUserServiceImpl.java b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/brokerage/BrokerageUserServiceImpl.java index 355e1ee8b8..4e998f412d 100644 --- a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/brokerage/BrokerageUserServiceImpl.java +++ b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/brokerage/BrokerageUserServiceImpl.java @@ -290,7 +290,7 @@ public class BrokerageUserServiceImpl implements BrokerageUserService { */ private boolean isNewRegisterUser(Long userId) { MemberUserRespDTO user = memberUserApi.getUser(userId); - 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) {