fix:扫码打开小程序不能先判断info是否为空,因为SDK内部需要再info为空时展示错误信息

master
xiaoyu 2021-06-18 21:31:39 +08:00
parent dc720c574e
commit 1406a0cffd
1 changed files with 0 additions and 8 deletions

View File

@ -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());
}