feat: 重新整理目录结构,mock请求

This commit is contained in:
kailong321200875
2023-11-30 11:34:39 +08:00
parent c8400abd9f
commit 179ab2672f
27 changed files with 96 additions and 112 deletions

14
src/constants/index.ts Normal file
View File

@@ -0,0 +1,14 @@
/**
* 请求成功状态码
*/
export const SUCCESS_CODE = 0
/**
* 请求contentType
*/
export const CONTENT_TYPE = 'application/json'
/**
* 请求超时时间
*/
export const REQUEST_TIMEOUT = 60000