mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 01:01:52 +08:00
!124 【修复】分销用户绑定时判断是否为新用户逻辑错误问题
This commit is contained in:
parent
3d44c2f9e3
commit
2f49ad31f4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user