refactor(projects): axios处理的请求结果去除网路状态

This commit is contained in:
Soybean
2021-11-23 09:52:23 +08:00
parent e1dacdbc39
commit 0569666a8f
4 changed files with 5 additions and 13 deletions

View File

@ -32,8 +32,6 @@ export interface CustomSuccessRequestResult<ResponseData> {
error: null;
/** 请求数据 */
data: ResponseData;
/** 网络状态 */
networkStatus: boolean;
}
/** 自定义的请求失败结果 */
@ -42,8 +40,6 @@ export interface CustomFailRequestResult {
error: RequestServiceError;
/** 请求数据 */
data: null;
/** 网络状态 */
networkStatus: boolean;
}
/** 自定义的请求结果 */