From 0d169b9e1437af394eca0ca8c23c0c3f15fa7157 Mon Sep 17 00:00:00 2001 From: wangtao Date: Thu, 24 Jun 2021 20:54:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=A0=81=E8=AF=86=E5=88=AB=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=87=A1=E6=B3=B0=E5=B0=8F=E7=A8=8B=E5=BA=8Fid?= =?UTF-8?q?=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ..._parseWXQrCode.h => MOP_parseAppletInfoFromWXQrCode.h} | 2 +- ..._parseWXQrCode.m => MOP_parseAppletInfoFromWXQrCode.m} | 4 ++-- ios/mop.podspec | 4 ++-- lib/mop.dart | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) rename ios/Classes/Api/{MOP_parseWXQrCode.h => MOP_parseAppletInfoFromWXQrCode.h} (84%) rename ios/Classes/Api/{MOP_parseWXQrCode.m => MOP_parseAppletInfoFromWXQrCode.m} (87%) diff --git a/ios/Classes/Api/MOP_parseWXQrCode.h b/ios/Classes/Api/MOP_parseAppletInfoFromWXQrCode.h similarity index 84% rename from ios/Classes/Api/MOP_parseWXQrCode.h rename to ios/Classes/Api/MOP_parseAppletInfoFromWXQrCode.h index 80d757c..904f380 100644 --- a/ios/Classes/Api/MOP_parseWXQrCode.h +++ b/ios/Classes/Api/MOP_parseAppletInfoFromWXQrCode.h @@ -10,7 +10,7 @@ NS_ASSUME_NONNULL_BEGIN -@interface MOP_parseWXQrCode : MOPBaseApi +@interface MOP_parseAppletInfoFromWXQrCode : MOPBaseApi @property(nonatomic,copy)NSString* qrCode; //二维码url @property(nonatomic,copy)NSString* apiServer; //服务器地址 @end diff --git a/ios/Classes/Api/MOP_parseWXQrCode.m b/ios/Classes/Api/MOP_parseAppletInfoFromWXQrCode.m similarity index 87% rename from ios/Classes/Api/MOP_parseWXQrCode.m rename to ios/Classes/Api/MOP_parseAppletInfoFromWXQrCode.m index 2f2e6c6..700d49f 100644 --- a/ios/Classes/Api/MOP_parseWXQrCode.m +++ b/ios/Classes/Api/MOP_parseAppletInfoFromWXQrCode.m @@ -5,11 +5,11 @@ // Created by EDY on 2021/6/22. // -#import "MOP_parseWXQrCode.h" +#import "MOP_parseAppletInfoFromWXQrCode.h" #import "MOPTools.h" #import -@implementation MOP_parseWXQrCode +@implementation MOP_parseAppletInfoFromWXQrCode - (void)setupApiWithSuccess:(void (^)(NSDictionary * _Nonnull))success failure:(void (^)(id _Nullable))failure cancel:(void (^)(void))cancel { NSLog(@"MOP_parseWXQrCode:%@", self.qrCode); diff --git a/ios/mop.podspec b/ios/mop.podspec index 0092394..798adb0 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.30.1' - s.dependency 'FinAppletExt' , '2.30.1' + s.dependency 'FinApplet' , '2.31.0-alpha20210624v05' + s.dependency 'FinAppletExt' , '2.31.0-alpha20210624v05' end diff --git a/lib/mop.dart b/lib/mop.dart index 505fff8..524639e 100644 --- a/lib/mop.dart +++ b/lib/mop.dart @@ -164,11 +164,11 @@ class Mop { Map params = {'info': info}; return await _channel.invokeMapMethod("scanOpenApplet", params); } - - Future> parseWXQrcode(String qrCode,String apiServer) async { - final ret = - await _channel.invokeMapMethod("parseWXQrCode", {"wxQrCode": qrCode,"apiServer":apiServer}); + Future> parseAppletInfoFromWXQrCode( + String qrCode, String apiServer) async { + final ret = await _channel.invokeMapMethod("parseAppletInfoFromWXQrCode", + {"qrCode": qrCode, "apiServer": apiServer}); return Map.from(ret); }