新修改打印机

This commit is contained in:
邹宗楠
2022-07-20 13:54:33 +08:00
parent c1b2f097c2
commit f9c4f9fa50

View File

@@ -102,7 +102,7 @@ func checkPrinterInfo(printNo, name, sound, sim string, volume int) (err error)
}
}
if name != "" {
if len(name) > 20 {
if len(name) > 255 {
return fmt.Errorf("打印机备注不能超过20个字符print_no : %v ", printNo)
}
}