import { httpAdd, httpUpdate } from "/@/api/parameter/invoiceheader"; export function create(form: Record) { return { data: form, api: httpAdd }; } export function edit(form: Record, id: string) { return { data: { id: id, ...form }, api: httpUpdate }; }