app/src/main/java/com/okgoincar/base/MyApplication.kt
@@ -71,7 +71,6 @@ // LogUtils.OpenLog(true) initUpPoint() initSocket() } private fun initSocket() { @@ -88,7 +87,7 @@ val json = JSONObject(message) val method = json.optString("method") Handler(Looper.getMainLooper()).post { // toast("收到websocket=$method") toast("收到websocket=$method") } val data = json.optString("data") val code = json.optInt("code", -1)