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

m

parent cd97cae7
......@@ -133,7 +133,7 @@ public class JDHelper {
* @param call
* @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");
if (TextUtils.isEmpty(url)) {
return;
......@@ -142,7 +142,11 @@ public class JDHelper {
// url,
// mKeplerAttachParameter,
// mOpenAppAction);
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