mirror of
https://github.com/talktao/Vue3-Vite-Vant-TS-H5.git
synced 2025-04-06 03:57:55 +08:00
add:api接口封装
This commit is contained in:
parent
683e8e1df6
commit
6655c7cfba
5
src/api/home.ts
Normal file
5
src/api/home.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import axiosInstance, { AxiosResponseProps } from '@/uitls/request'
|
||||
|
||||
export const getList = (params: any) => {
|
||||
return axiosInstance.get("/common/code/logisticsInfo/getOrderByPhone", { params: params || {} });
|
||||
}
|
5
src/api/orders.ts
Normal file
5
src/api/orders.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import axiosInstance, { AxiosResponseProps } from '@/uitls/request'
|
||||
|
||||
export const getList = (params: any) => {
|
||||
return axiosInstance.get("/common/code/logisticsInfo/getLogisticsByOrderId", { params: params || {} });
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user