From a0427086c4cb6dc63ee25963b8d1f13a1def3948 Mon Sep 17 00:00:00 2001
From: liugl <liugl@sinata.cn>
Date: 星期三, 19 八月 2020 10:23:00 +0800
Subject: [PATCH] 8.19 域名修改

---
 app/src/main/java/com/okgoincar/base/MyApplication.kt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/src/main/java/com/okgoincar/base/MyApplication.kt b/app/src/main/java/com/okgoincar/base/MyApplication.kt
index 2506495..d74b545 100644
--- a/app/src/main/java/com/okgoincar/base/MyApplication.kt
+++ b/app/src/main/java/com/okgoincar/base/MyApplication.kt
@@ -75,7 +75,7 @@
 
     private fun initSocket() {
         Handler(Looper.getMainLooper()).post {
-            toast("websocket初始化")
+//            toast("websocket初始化")
         }
         NettyClient.getInstance().init(this, Api.SOCKET_SERVER, Api.SOCKET_PORT, true)
         NettyClient.getInstance()
@@ -87,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)

--
Gitblit v1.7.1