Commit 55e828de authored by zhanglongbao's avatar zhanglongbao

fix

parent 5c5e58ee
import http from "../axios";
import { container } from "@/utils/container/index";
interface CustomerList {
page: number;
......@@ -33,7 +34,12 @@ export default {
},
// 客户列表
listCustomInfo(params: CustomerList) {
return http.post("/order.customer/listCustomInfo", params);
return http.post(
`/order.${
container.qr_code ? "external" : "customer"
}/listCustomInfo`,
params
);
},
// 删除客户
deleteCustomInfo(params: { ids: string[]; form_id: string }) {
......
import http from "../axios";
import { container } from "@/utils/container/index";
export default {
// 产品列表
listProduct(params: { page: number; size: number; [k: string]: any }) {
return http.post("/order.product/listProduct", params);
return http.post(
`/order.${container.qr_code ? "external" : "product"}/listProduct`,
params
);
},
// 新增/修改产品
saveProduct(params: any) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment