This commit is contained in:
邹宗楠
2025-11-26 15:28:25 +08:00
parent f28a13c2b3
commit ee4b2859bb
5 changed files with 37 additions and 25 deletions

View File

@@ -1,7 +1,6 @@
package jxprintapi
import (
"fmt"
"git.rosy.net.cn/baseapi"
"go.uber.org/zap"
"testing"
@@ -70,7 +69,7 @@ func TestGetPrintMsg(t *testing.T) {
}
func TestGetPrinterStatus(t *testing.T) {
result, err := api.GetPrinterStatus("120220915001467")
result, err := api.GetPrinterStatus("120220915001330")
if err != nil {
t.Fatal(err)
}
@@ -108,13 +107,3 @@ func TestDoPrint(t *testing.T) {
}
t.Log(result)
}
func TestName23(t *testing.T) {
count := 236 / 50
fmt.Println(count)
if 236%50 != 0 {
count += 1
}
fmt.Println(count)
}