支持更新代练中订单价格
This commit is contained in:
@@ -231,10 +231,11 @@ export function submitAdminWorkOrderMaterial(
|
||||
workOrderId: number,
|
||||
fields: Record<string, string>,
|
||||
screenshots?: UploadedFile[],
|
||||
rewardAmount?: number,
|
||||
) {
|
||||
return apiPost<{ order: WorkOrder; complete: boolean }>(
|
||||
`/api/v1/admin/worker-platform/orders/${workOrderId}/material`,
|
||||
{ fields, screenshots },
|
||||
{ fields, screenshots, rewardAmount },
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user