From d8ad2c0d11380df83e8d09aa9623330d68a8383d Mon Sep 17 00:00:00 2001 From: liuyuanxiao Date: Thu, 31 May 2018 16:29:47 +0800 Subject: [PATCH] mod networkStatus() --- .../main/java/com/benmu/framework/extend/module/ToolModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eros-framework/src/main/java/com/benmu/framework/extend/module/ToolModule.java b/eros-framework/src/main/java/com/benmu/framework/extend/module/ToolModule.java index 15b8c4d..7ff394f 100755 --- a/eros-framework/src/main/java/com/benmu/framework/extend/module/ToolModule.java +++ b/eros-framework/src/main/java/com/benmu/framework/extend/module/ToolModule.java @@ -58,7 +58,7 @@ public void scan(JSCallback callback) { @JSMethod(uiThread = false) public Object networkStatus() { - return JsPoster.getSuccess(NetworkUtil.status(BMWXEnvironment.mApplicationContext)); + return NetworkUtil.status(BMWXEnvironment.mApplicationContext); } @JSMethod