打开小程序接口调整

master
kangxuyao 2022-06-30 15:37:13 +08:00
parent 6ed0d2a35f
commit 52cbbcabef
1 changed files with 3 additions and 3 deletions

View File

@ -68,9 +68,9 @@ public class AppletModule extends BaseApi {
Log.d(TAG, "openApplet:" + appId + "," + param + "," + sequence + "," + apiServer); Log.d(TAG, "openApplet:" + appId + "," + param + "," + sequence + "," + apiServer);
if (apiServer != null) { if (apiServer != null) {
FinAppClient.INSTANCE.getAppletApiManager().startApplet(context, apiServer, appId, sequence, startParams); FinAppClient.INSTANCE.getAppletApiManager().startApplet(context, apiServer, appId, sequence, startParams,null);
} else { } else {
FinAppClient.INSTANCE.getAppletApiManager().startApplet(context, appId, sequence, startParams); FinAppClient.INSTANCE.getAppletApiManager().startApplet(context, appId, sequence, startParams,null);
} }
// String apiServer = (String) param.get("apiServer"); // String apiServer = (String) param.get("apiServer");
@ -113,7 +113,7 @@ public class AppletModule extends BaseApi {
private void scanOpenApplet(Map param, ICallback callback) { private void scanOpenApplet(Map param, ICallback callback) {
String info = String.valueOf(param.get("info")); String info = String.valueOf(param.get("info"));
FinAppClient.INSTANCE.getAppletApiManager().startApplet(mContext, new StartAppletDecryptRequest(info)); FinAppClient.INSTANCE.getAppletApiManager().startApplet(mContext, new StartAppletDecryptRequest(info),null);
callback.onSuccess(new HashMap()); callback.onSuccess(new HashMap());
} }