Commit 7c02f11b authored by 李增强's avatar 李增强

m

parent cd97cae7
...@@ -133,7 +133,7 @@ public class JDHelper { ...@@ -133,7 +133,7 @@ public class JDHelper {
* @param call * @param call
* @param result * @param result
*/ */
public void openUrl(MethodCall call, MethodChannel.Result result) throws JSONException { public void openUrl(MethodCall call, MethodChannel.Result result) {
String url = call.argument("url"); String url = call.argument("url");
if (TextUtils.isEmpty(url)) { if (TextUtils.isEmpty(url)) {
return; return;
...@@ -142,7 +142,11 @@ public class JDHelper { ...@@ -142,7 +142,11 @@ public class JDHelper {
// url, // url,
// mKeplerAttachParameter, // mKeplerAttachParameter,
// mOpenAppAction); // mOpenAppAction);
KeplerApiManager.getWebViewService().openJDUrlPage(url, mKeplerAttachParameter, getActivity(), mOpenAppAction, 0); try {
KeplerApiManager.getWebViewService().openJDUrlPage(url, mKeplerAttachParameter, getActivity(), mOpenAppAction, 0);
} catch (JSONException e) {
e.printStackTrace();
}
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment