mirror of
https://github.com/talktao/Vue3-Vite-Vant-TS-H5.git
synced 2025-08-13 15:49:49 +08:00
mock:模拟真实的请求
This commit is contained in:
parent
aa7dafc8f3
commit
9ee91892ed
@ -1,5 +1,5 @@
|
|||||||
import axiosInstance, { AxiosResponseProps } from '@/uitls/request'
|
import axiosInstance, { AxiosResponseProps } from '@/uitls/request';
|
||||||
|
|
||||||
export const getList = (params: any) => {
|
export const getList = (params?: any) => {
|
||||||
return axiosInstance.get("/common/code/logisticsInfo/getOrderByPhone", { params: params || {} });
|
return axiosInstance.get("http://yapi.smart-xwork.cn/mock/60279/bear/tabs", { params: params || {} });
|
||||||
}
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user