Skip to content

Commit 6b9d8d8

Browse files
committed
fix:fix release env ios tcyun appear delete error
1 parent d4d8b36 commit 6b9d8d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/utils/net.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ class NetUtils {
1111
_dio = new Dio(BaseOptions(
1212
connectTimeout: 30000, receiveTimeout: 30000, sendTimeout: 30000));
1313
if (!inProduction) {
14-
/// Tcyun
15-
dio.interceptors.add(TcyunInterceptor());
16-
1714
/// Log
1815
dio.interceptors
1916
.add(LogInterceptor(requestBody: true, responseBody: true));
2017
}
18+
19+
/// Tcyun Interceptor
20+
dio.interceptors.add(TcyunInterceptor());
2121
}
2222

2323
Dio get dio => _dio;

0 commit comments

Comments
 (0)