temp(charge): 캔 리스트

- 해외 충전 테스트를 위해 전체 캔 리스트 표시
This commit is contained in:
2025-10-02 19:56:23 +09:00
parent bc378cc619
commit c72adbfc4b

View File

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