feat(web-admin): add sample-payments API clients and progress tags

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-10-05 13:02:39 +08:00
1 parent c35e4ca3d2
commit 1bc44cab13
2 files changed
+33 -2

No files matched your search

@@ -135,3 +135,24 @@ export function fetchDeleteProtocolRefundRecord(recordId: string) {
showSuccessMessage: true
})
}
export function fetchSamplePaymentList(params?: {
page?: number
pageSize?: number
keyword?: string
payMode?: string
progressStatus?: string
installmentDueDateStart?: string
installmentDueDateEnd?: string
}) {
return request.get<PageList<Record<string, unknown>>>({
url: '/web/admin/sample-payments',
params
})
}
export function fetchSamplePaymentDetail(samplePaymentId: string) {
return request.get<Record<string, unknown>>({
url: `/web/admin/sample-payments/${samplePaymentId}`
})
}