크리에이터 관리자 일자별 콘텐츠 후원 정산 API - 캐싱 추가

This commit is contained in:
2023-11-14 21:03:21 +09:00
parent 35f66e7e41
commit dcd6933824

View File

@@ -208,6 +208,11 @@ class CreatorAdminCalculateService(private val repository: CreatorAdminCalculate
}
@Transactional(readOnly = true)
@Cacheable(
cacheNames = ["cache_ttl_3_hours"],
key = "'creatorCalculateContentDonationList:' + " +
"#startDateStr + ':' + #endDateStr + ':' + #memberId + ':' + #offset + ':' + #limit"
)
fun getCalculateContentDonationList(
startDateStr: String,
endDateStr: String,