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();