fix:打开小程序添加scene参数

master
wangtao 2021-07-27 10:39:26 +08:00
parent 22774a2495
commit 0fd38689e2
1 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,7 @@ class Mop {
final String apiPrefix,
final String fingerprint,
final String cryptType,
final String scene,
}) async {
Map<String, Object> params = {'appId': appId};
Map param = {};
@ -117,6 +118,7 @@ class Mop {
if (apiPrefix != null) params["apiPrefix"] = apiPrefix;
if (fingerprint != null) params["fingerprint"] = fingerprint;
if (cryptType != null) params["cryptType"] = cryptType;
if (scene != null) param["scene"] = scene;
final Map ret = await _channel.invokeMethod('openApplet', params);
return ret;
}