feat(market): 新增 fetchMyMaterialUsageList API
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
82bb06c9ef
commit
768294450b
1 file changed
+13
@@ -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 })
|
||||
}
|
||||
Reference in new issue
Block a user