diff --git a/lib/common/values/constants.dart b/lib/common/values/constants.dart index ea4099a..5513c67 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.185:9999'; + // static const apiUrl = 'http://192.168.101.185:9999'; /// 静态资源 url static const ossUrl = apiUrl; diff --git a/lib/common/widgets/app/app_wallet_selector.dart b/lib/common/widgets/app/app_wallet_selector.dart index f495ebb..34fdfb4 100644 --- a/lib/common/widgets/app/app_wallet_selector.dart +++ b/lib/common/widgets/app/app_wallet_selector.dart @@ -17,10 +17,8 @@ Widget AppWalletSelector( return const SizedBox(); } ServiceWallet? currentSelector = selector; - if (currentSelector == null) { - currentSelector = list[0]; - onChange(currentSelector); - } + currentSelector ??= list[0]; + onChange(currentSelector); final theme = FTheme.of(context); return list .map((v) { diff --git a/lib/pages/setting/widgets/setting_baseInfo.dart b/lib/pages/setting/widgets/setting_baseInfo.dart index 4760b56..e5107ca 100644 --- a/lib/pages/setting/widgets/setting_baseInfo.dart +++ b/lib/pages/setting/widgets/setting_baseInfo.dart @@ -25,12 +25,12 @@ Future _bindServiceDialog(BuildContext context, SysSetting sys) async { // 测试环境-测试设备 // uniqueCodeC.text = "1877592554489143298"; // 测试少年宫测试 - uniqueCodeC.text = "1927932460185784321"; + // uniqueCodeC.text = "1927932460185784321"; // 测试环境-食堂-浦阳 // uniqueCodeC.text = "1914567628657778690"; // 正式环境-超市-浦阳 // uniqueCodeC.text = "1894303392833716226"; - // 正式环境-超市-新县府 + // 正式环境-超市-新县府-主要测试(2025-8-26) // uniqueCodeC.text = "1902270180536061954"; } await showAdaptiveDialog(