From 1c3dea3f525921f52bfdee026a012b9499a6d07a Mon Sep 17 00:00:00 2001 From: wangzhaoyao Date: Wed, 1 Mar 2023 17:30:41 +0800 Subject: [PATCH] 1.update --- ios/mop.podspec | 4 ++-- lib/mop.dart | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/ios/mop.podspec b/ios/mop.podspec index 1e0d9aa..51be96c 100644 --- a/ios/mop.podspec +++ b/ios/mop.podspec @@ -17,7 +17,7 @@ A finclip miniprogram flutter sdk. s.dependency 'Flutter' s.ios.deployment_target = '9.0' - s.dependency 'FinApplet' , '2.40.0-dev20230227v03' - s.dependency 'FinAppletExt' , '2.40.0-dev20230227v03' + s.dependency 'FinApplet' , '2.40.0-dev20230228v02' + s.dependency 'FinAppletExt' , '2.40.0-dev20230228v02' end diff --git a/lib/mop.dart b/lib/mop.dart index e70d79e..2f18283 100644 --- a/lib/mop.dart +++ b/lib/mop.dart @@ -588,20 +588,20 @@ class Mop { _appletHandlerApis["getUserInfo"] = (params) { return handler.getUserInfo(); }; - _appletHandlerApis["getCustomMenus"] = (params) async { - final res = await handler.getCustomMenus(params["appId"]); - List> list = []; - res.forEach((element) { - Map map = Map(); - map["menuId"] = element.menuId; - map["image"] = element.image; - map["title"] = element.title; - map["type"] = element.type; - list.add(map); - }); - debugPrint("registerAppletHandler getCustomMenus list $list"); - return list; - }; + // _appletHandlerApis["getCustomMenus"] = (params) async { + // final res = await handler.getCustomMenus(params["appId"]); + // List> list = []; + // res.forEach((element) { + // Map map = Map(); + // map["menuId"] = element.menuId; + // map["image"] = element.image; + // map["title"] = element.title; + // map["type"] = element.type; + // list.add(map); + // }); + // debugPrint("registerAppletHandler getCustomMenus list $list"); + // return list; + // }; _appletHandlerApis["onCustomMenuClick"] = (params) async { return handler.onCustomMenuClick( params["appId"],