Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경 사항 요약 (PRD 기준)
1. 식별자 설계 정리
sessionKey) 및 미사용 식별자 제거정리 결과
botGroupKeybotUserKeyappUserId,sessionKey→ 사용하지 않음2. Vote 도메인 구조 변경
변경 내용
botGroupKey컬럼 추가status컬럼 추가 (ACTIVE,CLOSED)shareCode유지Vote 상태 흐름
ACTIVE@웬디 종료시:CLOSED3. Participant(참가자) 구조 정리
변경 내용
(vote_id, bot_user_key)UNIQUE (vote_id, bot_user_key)4. 투표 링크 및 리다이렉트 구조
카카오 챗봇 메시지에서 투표 링크 제공
백엔드
/open-vote엔드포인트 처리botGroupKey로 현재 활성화된(ACTIVE) 투표 조회shareCode획득웹 페이지로 302 리다이렉트
https://whendy.netlify.app/{shareCode}?botUserKey={botUserKey}