增加零号主收入结算确认
This commit is contained in:
@@ -458,10 +458,14 @@ export async function adminForceHandoff(id: number, content: string, reason: str
|
||||
return data.data
|
||||
}
|
||||
|
||||
export async function adminPlatformCheckoutConfirm(id: number, reason: string) {
|
||||
export async function adminPlatformCheckoutConfirm(
|
||||
id: number,
|
||||
reason: string,
|
||||
confirmZeroOwnerIncome = false
|
||||
) {
|
||||
const { data } = await apiClient.post<ApiResponse<{ confirmed: boolean }>>(
|
||||
`/admin/orders/${id}/platform-checkout/confirm`,
|
||||
{ reason }
|
||||
{ reason, confirm_zero_owner_income: confirmZeroOwnerIncome }
|
||||
)
|
||||
return data.data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user