Commit 3b765871 by 王宇航

1.6.3

繼續調整
parent 92c66130
...@@ -3,5 +3,5 @@ package com.gingersoft.connect.bean ...@@ -3,5 +3,5 @@ package com.gingersoft.connect.bean
class ResultBean( class ResultBean(
val success: Boolean = true, val success: Boolean = true,
val errorMsg: String = "", val errorMsg: String = "",
val data: SendMsgType val data: SendMsgType? = null
) )
...@@ -5,5 +5,5 @@ class SocketCallbackBean( ...@@ -5,5 +5,5 @@ class SocketCallbackBean(
val statusCode: Int, val statusCode: Int,
val msgCode: String, val msgCode: String,
val errorMsg: String, val errorMsg: String,
val data: SendMsgType val data: SendMsgType? = null
) )
\ No newline at end of file
...@@ -7,5 +7,5 @@ interface MsgProcess { ...@@ -7,5 +7,5 @@ interface MsgProcess {
/** /**
* 消息處理 * 消息處理
*/ */
fun <T> processMsg(data: T): ResultBean fun processMsg(data: Any?): ResultBean
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment