Commit 3366534d by 王宇航

1.7.4

修復KDS沽清後,接受端解析失敗的問題
parent 1261c590
......@@ -55,7 +55,7 @@ afterEvaluate {
groupId = "com.gingersoft.connect"
artifactId = "Connect"
version = "1.7.3"
version = "1.7.4"
// 添加 POM 配置
// pom {
// name.set("GingerSoftConnect")
......
......@@ -5,7 +5,7 @@ import com.gingersoft.connect.bean.SoldOutMsgBean
interface SoldOutMsgProcess : MsgProcess {
override suspend fun processMsg(data: Any?): ResultBean {
val gsonToBean = GsonUtils.GsonToBean(data, SoldOutMsgBean::class.java)
val gsonToBean = GsonUtils.GsonToBean(data.toString(), SoldOutMsgBean::class.java)
if (gsonToBean == null) {
return ResultBean(false, "解析失敗")
}
......
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