feat: 新增数据请求接口

This commit is contained in:
MTrun
2022-03-21 20:56:42 +08:00
parent c937555020
commit 62ed00e31c
14 changed files with 177 additions and 73 deletions
@@ -6,7 +6,7 @@ Mock.setup({
// 单个X数据
const featchMockData = '/api/mockData'
Mock.mock(/\/api\/test(|\?\S*)$/, 'get', test.featchMockData)
Mock.mock(/\/api\/mockData(|\?\S*)$/, 'get', test.featchMockData)
export {
featchMockData