匹配日志支持结果状态关键词与日期筛选及服务端分页

This commit is contained in:
yml2213
2026-08-23 10:30:47 +08:00
parent b4918769f1
commit fdf83a6745
4 changed files with 160 additions and 19 deletions
@@ -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,
)
}