fix:打开小程序添加scene参数
parent
22774a2495
commit
0fd38689e2
|
@ -106,6 +106,7 @@ class Mop {
|
||||||
final String apiPrefix,
|
final String apiPrefix,
|
||||||
final String fingerprint,
|
final String fingerprint,
|
||||||
final String cryptType,
|
final String cryptType,
|
||||||
|
final String scene,
|
||||||
}) async {
|
}) async {
|
||||||
Map<String, Object> params = {'appId': appId};
|
Map<String, Object> params = {'appId': appId};
|
||||||
Map param = {};
|
Map param = {};
|
||||||
|
@ -117,6 +118,7 @@ class Mop {
|
||||||
if (apiPrefix != null) params["apiPrefix"] = apiPrefix;
|
if (apiPrefix != null) params["apiPrefix"] = apiPrefix;
|
||||||
if (fingerprint != null) params["fingerprint"] = fingerprint;
|
if (fingerprint != null) params["fingerprint"] = fingerprint;
|
||||||
if (cryptType != null) params["cryptType"] = cryptType;
|
if (cryptType != null) params["cryptType"] = cryptType;
|
||||||
|
if (scene != null) param["scene"] = scene;
|
||||||
final Map ret = await _channel.invokeMethod('openApplet', params);
|
final Map ret = await _channel.invokeMethod('openApplet', params);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue