From 6655c7cfba1e1e9d35887ab8c9b9ffed3587fe34 Mon Sep 17 00:00:00 2001 From: talktao Date: Fri, 18 Mar 2022 23:30:04 +0800 Subject: [PATCH] =?UTF-8?q?add=EF=BC=9Aapi=E6=8E=A5=E5=8F=A3=E5=B0=81?= =?UTF-8?q?=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/home.ts | 5 +++++ src/api/orders.ts | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 src/api/home.ts create mode 100644 src/api/orders.ts diff --git a/src/api/home.ts b/src/api/home.ts new file mode 100644 index 0000000..f087a31 --- /dev/null +++ b/src/api/home.ts @@ -0,0 +1,5 @@ +import axiosInstance, { AxiosResponseProps } from '@/uitls/request' + +export const getList = (params: any) => { + return axiosInstance.get("/common/code/logisticsInfo/getOrderByPhone", { params: params || {} }); +} diff --git a/src/api/orders.ts b/src/api/orders.ts new file mode 100644 index 0000000..cfbd88f --- /dev/null +++ b/src/api/orders.ts @@ -0,0 +1,5 @@ +import axiosInstance, { AxiosResponseProps } from '@/uitls/request' + +export const getList = (params: any) => { + return axiosInstance.get("/common/code/logisticsInfo/getLogisticsByOrderId", { params: params || {} }); +}