From 26552082ea9640bfc5d140bd4bb1270f5c7ffdc6 Mon Sep 17 00:00:00 2001 From: Sean Date: Wed, 12 Jun 2024 11:05:27 +0800 Subject: [PATCH] log --- .../FinAppletExt/ExtensionApi/Location/FATExt_chooseLocation.m | 2 ++ .../FinAppletExt/ExtensionApi/Location/FATExt_choosePoi.m | 2 ++ .../FinAppletExt/ExtensionApi/Location/FATExt_getLocation.m | 1 + .../FinAppletExt/ExtensionApi/Location/FATExt_openLocation.m | 1 + 4 files changed, 6 insertions(+) diff --git a/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_chooseLocation.m b/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_chooseLocation.m index 5561dcd..4a2dcf6 100644 --- a/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_chooseLocation.m +++ b/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_chooseLocation.m @@ -34,6 +34,8 @@ } else if ([mapClassStr isEqualToString:@"FATGDMapView"]) { apiName = @"FATGDExt_chooseLocation"; } + NSLog(@"sean=========FATExt_chooseLocation"); + if (apiName) { id api = [self.class fat_apiWithApiClass:apiName params:self.param]; if (api) { diff --git a/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_choosePoi.m b/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_choosePoi.m index feb238f..7aab91b 100644 --- a/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_choosePoi.m +++ b/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_choosePoi.m @@ -38,6 +38,8 @@ return; } } + NSLog(@"sean=========FATExt_choosePoi"); + [[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) { if (status == 0) { //定位功能可用 diff --git a/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_getLocation.m b/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_getLocation.m index 991e645..f6e1a07 100644 --- a/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_getLocation.m +++ b/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_getLocation.m @@ -57,6 +57,7 @@ [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(handleNotification:) name:@"PHIZ_NOTIFICATION_LOCATION_AUTHORIZE_END" object:nil]; // FATAppletInfo *appInfo = [[FATClient sharedClient] currentApplet]; [[NSNotificationCenter defaultCenter] postNotificationName:@"PHIZ_NOTIFICATION_LOCATION_AUTHORIZE" object:NULL userInfo:@{@"type":@"gteLocation"}]; + NSLog(@"sean=========FATExt_getLocation"); [[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) { if (status == 0) { diff --git a/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_openLocation.m b/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_openLocation.m index ef806da..06df660 100644 --- a/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_openLocation.m +++ b/ios/Classes/FinAppletExt/ExtensionApi/Location/FATExt_openLocation.m @@ -44,6 +44,7 @@ return; } } + NSLog(@"sean=========FATExt_openLocation"); [[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) { if (status == 0) {