diff --git a/ios/Classes/Api/MOP_parseAppletInfoFromWXQrCode.m b/ios/Classes/Api/MOP_parseAppletInfoFromWXQrCode.m index 700d49f..ccce5ce 100644 --- a/ios/Classes/Api/MOP_parseAppletInfoFromWXQrCode.m +++ b/ios/Classes/Api/MOP_parseAppletInfoFromWXQrCode.m @@ -13,11 +13,15 @@ - (void)setupApiWithSuccess:(void (^)(NSDictionary * _Nonnull))success failure:(void (^)(id _Nullable))failure cancel:(void (^)(void))cancel { NSLog(@"MOP_parseWXQrCodeïĵš%@", self.qrCode); - [[FATClient sharedClient] parseAppletInfoFromWXQrCode:self.qrCode apiServer:self.apiServer completion:^(NSDictionary *result, FATError *aError) { + [[FATClient sharedClient] parseAppletInfoFromWXQrCode:self.qrCode apiServer:self.apiServer completion:^(FATAppletSimpleInfo *appInfo, FATError *aError) { if (aError) { failure(aError.description); }else{ - success(result); + NSMutableDictionary *dataDic = [[NSMutableDictionary alloc]init]; + if (appInfo && appInfo.appId) { + [dataDic setObject:appInfo.appId forKey:@"appId"]; + } + success(dataDic); } }]; } diff --git a/ios/mop.podspec b/ios/mop.podspec index 798adb0..320009d 100644 --- a/ios/mop.podspec +++ b/ios/mop.podspec @@ -16,7 +16,7 @@ A finclip miniprogram flutter sdk. s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' s.ios.deployment_target = '9.0' - s.dependency 'FinApplet' , '2.31.0-alpha20210624v05' - s.dependency 'FinAppletExt' , '2.31.0-alpha20210624v05' + s.dependency 'FinApplet' , '2.31.0-alpha20210628v02' + s.dependency 'FinAppletExt' , '2.31.0-alpha20210628v02' end