From 774f5516ec1a9a88436320f421130c2dcc5a5bc9 Mon Sep 17 00:00:00 2001 From: huixiang_app <953969641@qq.com> Date: Tue, 12 Sep 2023 18:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Eprint("=E8=BD=AF=E4=BB=B6?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E8=BF=90=E8=A1=8C=E7=9A=84=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=20kReleaseMode:"+(kReleaseMode=20=3F=20"=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F":"=E8=B0=83=E8=AF=95=E6=A8=A1=E5=BC=8F"));?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/retrofit/retrofit_api.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/retrofit/retrofit_api.dart b/lib/retrofit/retrofit_api.dart index 9401370d..686a8ffb 100644 --- a/lib/retrofit/retrofit_api.dart +++ b/lib/retrofit/retrofit_api.dart @@ -92,6 +92,7 @@ abstract class ApiService { if (pay) { headers["Environment"] = "app"; } + print("软件当前运行的模式 kReleaseMode:"+(kReleaseMode ? "发布模式":"调试模式")); if (kReleaseMode) baseUrl = serviceBaseUrl; if (isIp) baseUrl = ipBaseUrl; dio.options = BaseOptions(