This commit is contained in:
suyl
2021-07-22 10:52:35 +08:00
parent df4b2ad904
commit c7bc1abe3c

View File

@@ -374,8 +374,7 @@ func HandleTcpMessages() {
dao.UpdateEntity(db, printMsg, "Status")
flag:
for {
select {
case obj, _ := <-printMsgChan:
obj, _ := <-printMsgChan
if _, ok := obj.(*model.PrintMsg); ok {
continue
} else {
@@ -388,7 +387,6 @@ func HandleTcpMessages() {
}
}
}
}
func doPrint2(printMsgChan chan interface{}) (err error) {
var (