From fdba96465c442089c8e1b6f21a60dce50f710dc5 Mon Sep 17 00:00:00 2001 From: wangtao Date: Mon, 28 Jun 2021 10:17:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:iOS=E4=B8=80=E7=A0=81=E9=80=9A=E7=9A=84?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E7=BB=93=E6=9E=9C=E6=94=B9=E6=88=90model?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Classes/Api/MOP_parseAppletInfoFromWXQrCode.m | 8 ++++++-- ios/mop.podspec | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) 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