feat: 重新整理目录结构,mock请求
This commit is contained in:
14
src/constants/index.ts
Normal file
14
src/constants/index.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 请求成功状态码
|
||||
*/
|
||||
export const SUCCESS_CODE = 0
|
||||
|
||||
/**
|
||||
* 请求contentType
|
||||
*/
|
||||
export const CONTENT_TYPE = 'application/json'
|
||||
|
||||
/**
|
||||
* 请求超时时间
|
||||
*/
|
||||
export const REQUEST_TIMEOUT = 60000
|
||||
Reference in New Issue
Block a user