added other types of qrcodes like phone, sms, email, wifi

This commit is contained in:
heyethereum
2024-07-18 00:47:01 +08:00
parent 3e0ad7db2d
commit 686c4f939e
35 changed files with 612 additions and 132 deletions

View File

@@ -1,10 +1,22 @@
package com.safeqr.app.qrcode.service;
import com.safeqr.app.qrcode.entity.TextEntity;
import com.safeqr.app.qrcode.repository.TextRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TextVerificationService {
private final TextRepository textRepository;
@Autowired
public TextVerificationService(TextRepository textRepository) {
this.textRepository = textRepository;
}
public void insertDB(TextEntity textEntity) {
textRepository.save(textEntity);
}
private static final Logger logger = LoggerFactory.getLogger(TextVerificationService.class);
}