aa
This commit is contained in:
@@ -219,7 +219,7 @@ func (t *TcpClient) changePrintMsg(data string, orderNo int64, printNo string) (
|
||||
func HandleTcpMessages() {
|
||||
var (
|
||||
db = dao.GetDB()
|
||||
offset, pageSize = 0, 1
|
||||
offset, pageSize = 0, 10
|
||||
)
|
||||
for {
|
||||
//一直读?
|
||||
|
||||
@@ -158,7 +158,7 @@ func (t *TcpClient) getPrintStatus(key string) int {
|
||||
if t.isExist(key) {
|
||||
return t.Clients[key].Status
|
||||
} else {
|
||||
return printerStatusOnlineWithoutPaper
|
||||
return printerStatusOffline
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user