1
This commit is contained in:
@@ -61,7 +61,7 @@ func (t *TcpClient) handleConn(c net.Conn) {
|
||||
PrintNo string `json:"print_no"`
|
||||
}{}
|
||||
if err := json.Unmarshal(buffer[0:n], ¶m); err != nil {
|
||||
c.Write([]byte("err Unmarshal"))
|
||||
c.Write([]byte(err.Error()))
|
||||
return
|
||||
}
|
||||
t.buildMsgMap(param.PrintNo)
|
||||
|
||||
Reference in New Issue
Block a user