关闭旧商品匹配默认回退
This commit is contained in:
@@ -14,6 +14,7 @@ import type {
|
||||
WorkerFinanceConfig,
|
||||
WorkerFinanceRequest,
|
||||
WorkerPlatformNotificationConfig,
|
||||
WorkerProductMatchConfig,
|
||||
WorkerLevel,
|
||||
WorkerListResponse,
|
||||
WorkerUser,
|
||||
@@ -168,6 +169,17 @@ export function deleteAdminWorkProductRuleMapping(mappingId: number) {
|
||||
)
|
||||
}
|
||||
|
||||
export function fetchAdminWorkerProductMatchConfig() {
|
||||
return apiGet<WorkerProductMatchConfig>('/api/v1/admin/worker-platform/product-match-config')
|
||||
}
|
||||
|
||||
export function saveAdminWorkerProductMatchConfig(payload: WorkerProductMatchConfig) {
|
||||
return apiPost<WorkerProductMatchConfig>(
|
||||
'/api/v1/admin/worker-platform/product-match-config',
|
||||
payload,
|
||||
)
|
||||
}
|
||||
|
||||
export function fetchAdminKuaishouMatchSources(limit = 100) {
|
||||
return apiGet<{ items: KuaishouMatchSource[] }>(
|
||||
'/api/v1/admin/worker-platform/product-match-sources',
|
||||
|
||||
Reference in New Issue
Block a user