feat(projects): 引入mockjs

This commit is contained in:
Soybean
2021-12-25 01:23:44 +08:00
parent c9c5ca9989
commit 9bc682dae8
18 changed files with 363 additions and 83 deletions

View File

@ -5,3 +5,8 @@ export const request = createRequest({
baseURL: import.meta.env.VITE_HTTP_URL,
timeout: REQUEST_TIMEOUT
});
export const mockRequest = createRequest({
baseURL: '',
timeout: REQUEST_TIMEOUT
});