From 12a665f2ba81a131d64ddd22743c4a33a1c75b0c Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 3 Mar 2026 22:55:04 -0800 Subject: [PATCH] =?UTF-8?q?fix(genex-mobile):=20=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=94=B9=E7=94=A8=20api.gogenex.cn=20?= =?UTF-8?q?=E2=80=94=20=E5=9B=BD=E5=86=85=E7=BD=91=E7=BB=9C=E6=9B=B4?= =?UTF-8?q?=E7=A8=B3=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .com 域名指向 HK IP 在中国大陆部分网络解析失败, 改用 .cn 国内域名确保升级检查能正常访问。 Co-Authored-By: Claude Sonnet 4.6 --- frontend/genex-mobile/lib/main.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/genex-mobile/lib/main.dart b/frontend/genex-mobile/lib/main.dart index 5df7989..8df8dbd 100644 --- a/frontend/genex-mobile/lib/main.dart +++ b/frontend/genex-mobile/lib/main.dart @@ -40,9 +40,9 @@ import 'features/coupons/presentation/pages/wallet_coupons_page.dart'; Future main() async { WidgetsFlutterBinding.ensureInitialized(); - // 初始化升级服务(走 Nginx 反向代理 → Kong 网关) + // 初始化升级服务(走 Nginx 反向代理 → Kong 网关,国内用 .cn 域名) UpdateService().initialize(UpdateConfig.selfHosted( - apiBaseUrl: 'https://api.gogenex.com', + apiBaseUrl: 'https://api.gogenex.cn', enabled: true, ));