【修复】分销用户绑定时判断是否为新用户逻辑错误问题
parent
d1e13f4b82
commit
2414b00083
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue