@ -0,0 +1,3 @@
{
"flutter": "3.35.2"
}
@ -30,3 +30,5 @@ doc/api/
/android/app/profile
/android/app/release
# FVM Version Cache
.fvm/
"dart.flutterSdkPath": ".fvm/versions/3.35.2"
@ -145,6 +145,9 @@ class ResponseInterceptor extends Interceptor {
case DioExceptionType.cancel:
errorMessage = '请求已取消';
break;
case DioExceptionType.connectionError:
errorMessage = '网络连接失败';
default:
errorMessage = err.message ?? '未知错误';