coin -> can 으로 변경

This commit is contained in:
2023-08-13 19:47:28 +09:00
parent c9970ce7ca
commit c8764be69f
11 changed files with 22 additions and 22 deletions

View File

@@ -38,7 +38,7 @@ class AdminCanService(
val member = memberRepository.findByIdOrNull(request.memberId)
?: throw SodaException("잘못된 회원번호 입니다.")
if (request.can <= 0) throw SodaException("0 코인 이상 입력하세요.")
if (request.can <= 0) throw SodaException("1 캔 이상 입력하세요.")
if (request.method.isBlank()) throw SodaException("기록내용을 입력하세요.")
val charge = Charge(0, request.can, status = ChargeStatus.ADMIN)