feat: 买点参数册亨工
Flutter CI / analyze-and-test (push) Waiting to run Details

This commit is contained in:
Max 2026-02-03 15:50:49 +08:00
parent 745ab3510e
commit 29c60bbc48
2 changed files with 6 additions and 2 deletions

View File

@ -80,7 +80,11 @@ class _DemoPageState extends State<DemoPage> {
Future<void> _trackDemoEvent() async {
await Analytics.track(
'DEMO_BUTTON_CLICK',
eventParams: const <String, dynamic>{'page': 'demo'},
eventParams: const <String, dynamic>{
'page': 'demo',
'Url': 'https://example.com/demo',
'ButtonId': 'demo_btn_01',
},
customTags: const <String, dynamic>{'tenantId': 't1', 'feature': 'demo'},
);
await _refreshCount();

View File

@ -30,7 +30,7 @@ class ApiException implements Exception {
@override
String toString() =>
'ApiException(statusCode: $statusCode, retryable: $retryable, '
'message: $message)';
'message: $message, data: $data)';
}
///