feat(market): 新增 fetchMyMaterialUsageList API

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-06-15 14:02:05 +08:00
1 parent 82bb06c9ef
commit 768294450b
1 file changed
+13
+13
View File
@@ -60,3 +60,16 @@ export function fetchMarkMaterialUsageFullyUsed(usageId: string) {
url: `/web/admin/material-usages/${usageId}/mark-fully-used`
})
}
export function fetchMyMaterialUsageList(params: {
page: number
pageSize: number
keyword?: string
materialId?: string
materialType?: string
changeType?: string
startTime?: string
endTime?: string
}): Promise<{ list: MaterialUsage[]; total: number }> {
return request.get('/web/admin/my-material-usages', { params })
}