匹配日志支持结果状态关键词与日期筛选及服务端分页
This commit is contained in:
@@ -332,12 +332,10 @@ export function testAdminKuaishouProductMatch(rawPayload: string) {
|
||||
}>('/api/v1/admin/worker-platform/product-match-test', { rawPayload })
|
||||
}
|
||||
|
||||
export function fetchAdminWorkProductMatchLogs(limit = 100) {
|
||||
return apiGet<{ items: WorkProductMatchLog[] }>(
|
||||
export function fetchAdminWorkProductMatchLogs(params?: Record<string, unknown>) {
|
||||
return apiGet<WorkerListResponse<WorkProductMatchLog>>(
|
||||
'/api/v1/admin/worker-platform/product-match-logs',
|
||||
{
|
||||
limit,
|
||||
},
|
||||
params,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user