fix:扫码打开小程序不能先判断info是否为空,因为SDK内部需要再info为空时展示错误信息
parent
dc720c574e
commit
1406a0cffd
|
@ -102,14 +102,6 @@ public class AppletModule extends BaseApi {
|
|||
|
||||
private void scanOpenApplet(Map param, ICallback callback) {
|
||||
String info = String.valueOf(param.get("info"));
|
||||
if (TextUtils.isEmpty(info)) {
|
||||
callback.onFail(new HashMap() {
|
||||
{
|
||||
put("info", "info不能为" + info);
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
FinAppClient.INSTANCE.getAppletApiManager().startApplet(mContext, new StartAppletDecryptRequest(info));
|
||||
callback.onSuccess(new HashMap());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue