feat(calculate): 크리에이터별 채널 후원 정산 페이지 개발 및 관련 API 수정
1. 크리에이터별 채널 후원 정산 페이지 신규 개발 (/calculate/channel-donation-by-creator) 2. 날짜별 채널 후원 정산 API 경로 변경 (/admin/calculate/channel-donation-by-date) 및 연동 수정 3. 채널 후원 정산 페이지 엑셀 다운로드 방식 유지 (클라이언트 사이드) 4. 크리에이터별 채널 후원 정산 페이지 엑셀 다운로드 인증 추가 (서버 사이드) 5. 크리에이터별 채널 후원 정산 페이지 표에서 날짜 컬럼 제거
This commit is contained in:
@@ -63,6 +63,18 @@ async function getCalculateChannelDonationByCreator(startDate, endDate, page, si
|
||||
)
|
||||
}
|
||||
|
||||
async function getCalculateChannelDonationByDate(startDate, endDate, page, size) {
|
||||
return Vue.axios.get('/admin/calculate/channel-donation-by-date?startDateStr=' +
|
||||
startDate + '&endDateStr=' + endDate + '&page=' + (page - 1) + '&size=' + size
|
||||
)
|
||||
}
|
||||
|
||||
async function downloadCalculateChannelDonationByCreatorExcel(startDate, endDate) {
|
||||
return Vue.axios.get('/admin/calculate/channel-donation-by-creator/excel?startDateStr=' + startDate + '&endDateStr=' + endDate, {
|
||||
responseType: 'blob'
|
||||
});
|
||||
}
|
||||
|
||||
async function updateCreatorSettlementRatio(creatorSettlementRatio) {
|
||||
const request = {
|
||||
memberId: creatorSettlementRatio.creator_id,
|
||||
@@ -91,5 +103,7 @@ export {
|
||||
getCalculateLiveByCreator,
|
||||
getCalculateContentByCreator,
|
||||
getCalculateCommunityByCreator,
|
||||
getCalculateChannelDonationByCreator
|
||||
getCalculateChannelDonationByCreator,
|
||||
getCalculateChannelDonationByDate,
|
||||
downloadCalculateChannelDonationByCreatorExcel
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user