From 6b9d8d8c3e6036024ee5cbbf3b3cd3ef66b4f6f8 Mon Sep 17 00:00:00 2001 From: hackycy Date: Mon, 20 Jul 2020 15:32:22 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Afix=20release=20env=20ios=20tcyun?= =?UTF-8?q?=20appear=20delete=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/utils/net.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/utils/net.dart b/lib/utils/net.dart index e9cb0bd..fcc70f1 100644 --- a/lib/utils/net.dart +++ b/lib/utils/net.dart @@ -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;