feat:existPassword
This commit is contained in:
@@ -378,7 +378,14 @@ public class WalletServiceImpl implements WalletService {
|
||||
|
||||
@Override
|
||||
public PasswordDTO existPassword(OutStoreIdRequest request) {
|
||||
return walletApiService.passwordIsExist( request);
|
||||
PasswordDTO passwordDTO = walletApiService.passwordIsExist(request);
|
||||
List<AccountInfoDTO> list = walletApiService.getAccountInfo(request);
|
||||
Boolean isExistAccount = false;
|
||||
if (CollectionUtils.isNotEmpty( list)){
|
||||
isExistAccount = Boolean.TRUE;
|
||||
}
|
||||
passwordDTO.setIsExistAccount(isExistAccount);
|
||||
return passwordDTO;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user