From de887d5c73eb60a6202bfa3ac6ebc7086a7f3009 Mon Sep 17 00:00:00 2001 From: GeJiaXiang <353358601@qq.com> Date: Tue, 23 Jan 2024 17:19:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E4=BA=8E=E9=A1=B5=E9=9D=A2=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=AF=B7=E6=B1=82=E5=9C=B0=E5=9D=80=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- star_lock/lib/mine/about/about_page.dart | 6 ++++++ star_lock/lib/network/api.dart | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/star_lock/lib/mine/about/about_page.dart b/star_lock/lib/mine/about/about_page.dart index 14e8e25b..c1ca3d2b 100644 --- a/star_lock/lib/mine/about/about_page.dart +++ b/star_lock/lib/mine/about/about_page.dart @@ -8,6 +8,7 @@ import '../../app_settings/app_colors.dart'; import '../../tools/commonItem.dart'; import '../../tools/titleAppBar.dart'; import '../../translations/trans_lib.dart'; +import '../../network/api.dart'; class AbountPage extends StatefulWidget { const AbountPage({Key? key}) : super(key: key); @@ -40,6 +41,11 @@ class _AbountPageState extends State { "星锁 1.0.0.07(preRelease-20240118-1)", style: TextStyle(fontSize: 24.sp, color: AppColors.blackColor), ), + SizedBox(height: 20.h), + Text( + Api.baseAddress, + style: TextStyle(fontSize: 24.sp, color: AppColors.blackColor), + ), SizedBox( height: 60.h, ), diff --git a/star_lock/lib/network/api.dart b/star_lock/lib/network/api.dart index ef58acb2..8387c18e 100644 --- a/star_lock/lib/network/api.dart +++ b/star_lock/lib/network/api.dart @@ -1,8 +1,8 @@ abstract class Api { - // static String baseAddress = "https://pre.lock.star-lock.cn"; //预发布环境 - static String baseAddress = "https://dev.lock.star-lock.cn"; //联调环境 + static String baseAddress = "https://pre.lock.star-lock.cn"; //预发布环境 + // static String baseAddress = "https://dev.lock.star-lock.cn"; //联调环境 // static String baseAddress = "http://192.168.1.15:8022"; //谢总本地 - // static String baseAddress = "https://ge.lock.star-lock.cn:8100"; //葛工开发环境地址 + // static String baseAddress = "https://ge.lock.star-lock.cn"; //葛工开发环境地址 final String baseUrl = "$baseAddress/api";