liugl
2020-08-11 71a056d02f9084af82bd6fe3962e5b46d5628e4f
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)