1
This commit is contained in:
@@ -57,6 +57,7 @@ func (t *TcpClient) handleConn(c net.Conn) {
|
||||
//看是心跳还是打印回调
|
||||
data := hex.EncodeToString(buffer[:n])
|
||||
if strings.Contains(string(buffer[0:n]), "print_no") { // 清理缓存
|
||||
globals.SugarLogger.Debugf("=========buffer %s", string(buffer[0:n]))
|
||||
param := struct {
|
||||
PrintNo string `json:"print_no"`
|
||||
}{}
|
||||
|
||||
Reference in New Issue
Block a user