Merge branch 'feat/add_config' of ssh://gitlab.finogeeks.club:2233/finclipsdk/finclip-flutter-sdk into feat/add_config

master
wangtao 2023-03-24 10:46:53 +08:00
commit 8a7bcf75b8
1 changed files with 16 additions and 16 deletions

View File

@ -285,10 +285,10 @@ class UIConfig {
/// ... /// ...
bool isHideBackHome = false; bool isHideBackHome = false;
/// ... false /// ... false
bool isHideForwardMenu = false; bool isHideForwardMenu = false;
/// ... true /// ... true
bool isHideShareAppletMenu = true; bool isHideShareAppletMenu = true;
/// ... /// ...
@ -1113,20 +1113,20 @@ class Mop {
_appletHandlerApis["getUserInfo"] = (params) { _appletHandlerApis["getUserInfo"] = (params) {
return handler.getUserInfo(); return handler.getUserInfo();
}; };
// _appletHandlerApis["getCustomMenus"] = (params) async { _appletHandlerApis["getCustomMenus"] = (params) async {
// final res = await handler.getCustomMenus(params["appId"]); final res = await handler.getCustomMenus(params["appId"]);
// List<Map<String, dynamic>> list = []; List<Map<String, dynamic>> list = [];
// res.forEach((element) { res.forEach((element) {
// Map<String, dynamic> map = Map(); Map<String, dynamic> map = Map();
// map["menuId"] = element.menuId; map["menuId"] = element.menuId;
// map["image"] = element.image; map["image"] = element.image;
// map["title"] = element.title; map["title"] = element.title;
// map["type"] = element.type; map["type"] = element.type;
// list.add(map); list.add(map);
// }); });
// debugPrint("registerAppletHandler getCustomMenus list $list"); debugPrint("registerAppletHandler getCustomMenus list $list");
// return list; return list;
// }; };
_appletHandlerApis["onCustomMenuClick"] = (params) async { _appletHandlerApis["onCustomMenuClick"] = (params) async {
return handler.onCustomMenuClick( return handler.onCustomMenuClick(
params["appId"], params["appId"],