This commit is contained in:
邹宗楠
2022-07-28 17:58:43 +08:00
parent ab3177f5de
commit 4c20521561
2 changed files with 16 additions and 0 deletions

13
dao/printer_test.go Normal file
View File

@@ -0,0 +1,13 @@
package dao
import (
"fmt"
"git.rosy.net.cn/jx-print/globals"
"testing"
)
func TestGetPrinters(t *testing.T) {
data, err := GetPrintersPage(globals.GetDB(), 1000, "", "", -9, -9, 0, 10, "")
fmt.Println("data=======", data)
fmt.Println("data=======", err)
}