Skip to content

[Feat] 무료 크레딧 우선 차감 및 출처별 예약 정산 보완 - #131

Merged
ww123ok merged 4 commits into
developfrom
feat/130-free-credit-priority
Nov 8, 2026
Merged

ww123ok merged 4 commits into
developfrom
feat/130-free-credit-priority

Conversation

@ww123ok

@ww123ok ww123ok commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

PULL REQUEST

🎋 작업 브랜치

💡 작업동기

  • 유료분보다 나중에 지급된 무료 크레딧도 먼저 사용할 수 있도록 신규 예약의 배분 순서를 수정했습니다.

🔑 주요 변경사항

  • 무료 지급분을 먼저 예약하고 부족한 수량만 유료 지급분에서 배분합니다.
  • 각 그룹 안에서는 지급 순서를 유지하며 페이지 조회 전 우선순위를 적용합니다.
  • 성공·실패·취소·만료는 최초 출처별 배분으로 처리합니다.
  • 중복·동시 요청과 추가 지급으로 기존 예약의 배분을 변경하지 않습니다.
  • 기존 예약·원장·사용량은 소급 변경하지 않습니다.
  • API·DB 구조와 이미지 과금·사용 보류·무기한 정책을 유지합니다.

🏞 스크린샷 (선택)

없음

💬 리뷰 요구사항 (선택)

  • 페이지 조회 전 무료 우선순위와 기존 예약의 출처 보존을 확인 부탁드립니다.

@ww123ok
ww123ok requested a review from befur1 November 8, 2026 08:26
@ww123ok ww123ok self-assigned this Nov 8, 2026
@ww123ok ww123ok added the FEAT label Nov 8, 2026
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ww123ok
ww123ok merged commit 80c063e into develop Nov 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] 무료 크레딧 우선 차감 및 출처별 예약 정산 보완

1 participant