diff --git a/lib/life/electricity/widget/search.dart b/lib/life/electricity/widget/search.dart index b4e623bf..bbc40105 100644 --- a/lib/life/electricity/widget/search.dart +++ b/lib/life/electricity/widget/search.dart @@ -17,7 +17,7 @@ Future searchRoom({ required ValueNotifier> $searchHistory, required List roomList, }) async { - Stats.feature(AppFeature.electricityBalance, "/search"); + Stats.feature(AppFeature.electricityBalance, "search"); final result = await showSearch( useRootNavigator: true, context: ctx, diff --git a/lib/life/expense_records/card.dart b/lib/life/expense_records/card.dart index 58f9119e..dfe7740b 100644 --- a/lib/life/expense_records/card.dart +++ b/lib/life/expense_records/card.dart @@ -115,9 +115,9 @@ class _ExpenseRecordsAppCardState extends ConsumerState w onPressed: () async { final success = await guardLaunchUrlString(context, _alipaySchoolCardTopUpMiniapp); if (success) { - Stats.feature(AppFeature.expenseRecords, "/top-up?launched"); + Stats.feature(AppFeature.expenseRecords, "top-up.launched"); } else { - Stats.feature(AppFeature.expenseRecords, "/top-up?failed"); + Stats.feature(AppFeature.expenseRecords, "top-up.failed"); if (!context.mounted) return; context.showTip( title: i18n.launchFailed, diff --git a/lib/life/lab_door/card.dart b/lib/life/lab_door/card.dart index d53ea704..9bf49976 100644 --- a/lib/life/lab_door/card.dart +++ b/lib/life/lab_door/card.dart @@ -47,9 +47,9 @@ class _OpenLabDoorAppCardState extends ConsumerState { await Future.delayed(const Duration(milliseconds: 2000)); if (!mounted) return; context.showSnackBar(content: "开门成功".text()); - Stats.feature(AppFeature.sitRobotOpenLabDoor, "/open?success"); + Stats.feature(AppFeature.sitRobotOpenLabDoor, "open.success"); } else { - Stats.feature(AppFeature.sitRobotOpenLabDoor, "/open?failed"); + Stats.feature(AppFeature.sitRobotOpenLabDoor, "open.failed"); if (!mounted) return; context.showSnackBar(content: "开门失败".text()); }