fix:fix release env ios tcyun appear delete error

This commit is contained in:
hackycy
2020-07-20 15:32:22 +08:00
parent d4d8b36f8e
commit 6b9d8d8c3e

View File

@@ -11,13 +11,13 @@ class NetUtils {
_dio = new Dio(BaseOptions(
connectTimeout: 30000, receiveTimeout: 30000, sendTimeout: 30000));
if (!inProduction) {
/// Tcyun
dio.interceptors.add(TcyunInterceptor());
/// Log
dio.interceptors
.add(LogInterceptor(requestBody: true, responseBody: true));
}
/// Tcyun Interceptor
dio.interceptors.add(TcyunInterceptor());
}
Dio get dio => _dio;