This commit is contained in:
邹宗楠
2022-07-20 16:18:47 +08:00
parent f9c4f9fa50
commit c79c8c77ca
2 changed files with 7 additions and 8 deletions

View File

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