commit
e45ccc9e8a
|
@ -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