Files
gao-customer-h5/src/api/CustomerProductAPI.ts
T
2026-09-19 01:21:55 +08:00

12 lines
450 B
TypeScript

import { axios } from "timi-web-api";
import { withCurrentStoreId } from "@/utils/store";
import type { CustomerProduct, CustomerProductPage, CustomerProductPageResult } from "@/types/CustomerProduct";
const URI = "/gao/sales/order/customer-product";
async function list(page: CustomerProductPage): Promise<CustomerProductPageResult<CustomerProduct>> {
return await axios.post(`${URI}/list`, withCurrentStoreId(page));
}
export default { list };