temp(charge): 캔 리스트

- 해외 충전 테스트를 위해 전체 캔 리스트 표시
This commit is contained in:
2025-10-02 19:03:42 +09:00
parent 6327a5d2bf
commit bc378cc619
2 changed files with 21 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ import java.time.format.DateTimeFormatter
class CanService(private val repository: CanRepository) {
fun getCans(geoCountry: GeoCountry): List<CanResponse> {
val currency = when (geoCountry) {
GeoCountry.KR -> "KRW"
GeoCountry.KR -> "USD"
else -> "USD"
}
return repository.findAllByStatusAndCurrency(status = CanStatus.SALE, currency = currency)