Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QR 코드 생성 테스트 #12

Open
moonwonki opened this issue Mar 26, 2024 · 0 comments
Open

QR 코드 생성 테스트 #12

moonwonki opened this issue Mar 26, 2024 · 0 comments

Comments

@moonwonki
Copy link

테스트 내용

id가 2인 테스트 계정으로 접속한 후에
"/owner/code/qr/1"로 접속하였다.

뒤에 작성된 숫자 1은 SeatId에 해당되는 부분으로,
아직 좌석을 생성하는 기능이 미구현 상태이기에, 실제로는 없는 엔티티이다.
그러나 테스트 용으로 해당하는 링크에 접속이 가능한 QR 코드가 생성되는지 확인하기에는 문제가 없다.

그렇게 해서 나온 QR 코드는 다음과 같다.

image

위 이미지를 WebQR 사이트에 업로드해서 어떠한 링크로 이동하는지 확인해보았다.

image

보시다시피 제대로 된 링크가 생성되어 이동하는 것을 알 수 있다.

QR 코드 기능 실제로 사용하기 위한 준비

현재 ec2에 실제로 서버를 올리지 않았기 때문에 localhost를 기반으로 링크를 생성하도록 했다.

만약 ec2에 실제로 서버를 올린다면 해당 서버의 base 주소를 application.yaml에 최신화하여, 해당 주소를 기반으로 생성되도록 설정해야 한다.

image

This was referenced Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant