refactor(projects): 代码优化

This commit is contained in:
Soybean
2022-07-10 00:41:35 +08:00
parent da407b6653
commit b60db89801
17 changed files with 31 additions and 34 deletions

View File

@ -21,11 +21,6 @@ declare namespace EnumType {
/** 请求的相关类型 */
declare namespace Service {
/** 请求环境类型
* - test:测试环境
* - prod:正式环境 */
type HttpEnv = 'test' | 'prod';
/**
* 请求的错误类型:
* - axios: axios错误网络错误, 请求超时, 默认的兜底错误