From cdcce003b1e27d150f87f394cc8c32d81f71ea4c Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Wed, 14 May 2025 11:45:09 +0800 Subject: [PATCH] 1 --- lib/common/values/constants.dart | 4 ++-- lib/common/widgets/order/select_pay_type_dialog.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common/values/constants.dart b/lib/common/values/constants.dart index bbbd4d5..059717c 100644 --- a/lib/common/values/constants.dart +++ b/lib/common/values/constants.dart @@ -10,9 +10,9 @@ class Constants { static const pwdEncKey = 'pigxpigxpigxpigx'; /// 服务 url - // static const apiUrl = 'https://stgl.pj.gov.cn/api'; + static const apiUrl = 'https://stgl.pj.gov.cn/api'; - static const apiUrl = 'http://192.168.101.125:9999'; + // static const apiUrl = 'http://192.168.101.125:9999'; /// 静态资源 url static const ossUrl = apiUrl; diff --git a/lib/common/widgets/order/select_pay_type_dialog.dart b/lib/common/widgets/order/select_pay_type_dialog.dart index 071dc4f..00a7945 100644 --- a/lib/common/widgets/order/select_pay_type_dialog.dart +++ b/lib/common/widgets/order/select_pay_type_dialog.dart @@ -391,7 +391,7 @@ class SelectPayTypeDialogController extends GetxController { if (user == null) { logger.e("|_tag|,人脸识别,离线获取本地用户失败"); Toast.error(msg: "查询不到此用户"); - return; + throw Error(); } payUser.value = SyncUserTool.parsePayUser(user: user); payUser.refresh();