mock:模拟真实的请求

This commit is contained in:
tantao 2022-08-25 14:40:56 +08:00
parent aa7dafc8f3
commit 9ee91892ed

View File

@ -1,5 +1,5 @@
import axiosInstance, { AxiosResponseProps } from '@/uitls/request'
import axiosInstance, { AxiosResponseProps } from '@/uitls/request';
export const getList = (params: any) => {
return axiosInstance.get("/common/code/logisticsInfo/getOrderByPhone", { params: params || {} });
}
export const getList = (params?: any) => {
return axiosInstance.get("http://yapi.smart-xwork.cn/mock/60279/bear/tabs", { params: params || {} });
};