From a0694aba52b4fb590039ff69e1625938ebef1041 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 11 九月 2019 16:19:22 +0800
Subject: [PATCH] 1.新增用户信息的获取存储接口

---
 src/main/kotlin/com/flightfeather/obd/socket/ServerHandler.kt |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/obd/socket/ServerHandler.kt b/src/main/kotlin/com/flightfeather/obd/socket/ServerHandler.kt
index 42a6c2a..a71b02e 100644
--- a/src/main/kotlin/com/flightfeather/obd/socket/ServerHandler.kt
+++ b/src/main/kotlin/com/flightfeather/obd/socket/ServerHandler.kt
@@ -1,8 +1,5 @@
 package com.flightfeather.obd.socket
 
-import com.flightfeather.obd.domain.entity.ObdData
-import com.google.gson.Gson
-import io.netty.channel.ChannelHandler
 import io.netty.channel.ChannelHandlerContext
 import io.netty.channel.ChannelInboundHandlerAdapter
 import io.netty.util.AttributeKey
@@ -22,6 +19,7 @@
 
     override fun channelRead(ctx: ChannelHandlerContext?, msg: Any?) {
         super.channelRead(ctx, msg)
+        println("------鏀跺埌鐨勫師濮嬫暟鎹細[ip:${ctx?.channel()?.remoteAddress()}]\r\n$msg")
         if (msg is String) {
             MessageManager().dealMsg(msg, ctx)
         }

--
Gitblit v1.9.3