import { get, post } from '../utils/request'; // 登录 export const loginWx = (data: object) => { return post('/Authenticate/LoginWx', data); }; // 纸板订单 export const getCardBoardOrderList = (data: object) => { return get('/WxAppCardBoardOrder', {data}); }; export const getCardBoardOrderDetail = (data: any) => { return get(`/WxAppCardBoardOrder/${data}`); }; // 送货单 export const getCardBoardOrderDeliveryList = (data: object) => { return get('/WxAPPCardBoardDeliveryOrder', {data}); }; export const getCardBoardOrderDeliveryDetail = (data: any) => { return get(`/WxAPPCardBoardDeliveryOrder/${data}`); }; // 客户 export const getCustomerList = (data: object) => { return get('/Customer', {data}); }; // 供应商 export const getSupplierList = (data: object) => { return get('/Supplier', {data}); };