12 lines
450 B
TypeScript
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 };
|