feat: AnalyticsApi update

This commit is contained in:
2024-05-07 21:08:16 +08:00
parent 155c8a0564
commit 348704c669
9 changed files with 64 additions and 10 deletions

View File

@ -7,7 +7,10 @@ import 'package:starcitizen_doctor/common/utils/log.dart';
class AnalyticsApi {
static touch(String key) async {
if (kDebugMode || kProfileMode) return;
if (kDebugMode || kProfileMode) {
dPrint("AnalyticsApi.touch === $key skip");
return;
}
dPrint("AnalyticsApi.touch === $key start");
try {
final r = await RSHttp.postData(