added phone, email

This commit is contained in:
heyethereum
2024-08-14 23:28:45 +08:00
parent b176e5c54f
commit 624bfdc2f9
7 changed files with 74 additions and 48 deletions

View File

@@ -27,6 +27,8 @@ public final class PhoneModel extends QRCodeModel<PhoneEntity> {
@Override
public void setDetails() {
details = PhoneEntity.builder().qrCodeId(data.getId()).build();
phoneVerificationService.parsePhoneString(details, data.getContents());
// Insert into phone table
phoneVerificationService.insertDB(details);
}