新修改打印机
This commit is contained in:
@@ -102,7 +102,7 @@ func checkPrinterInfo(printNo, name, sound, sim string, volume int) (err error)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if name != "" {
|
if name != "" {
|
||||||
if len(name) > 20 {
|
if len(name) > 255 {
|
||||||
return fmt.Errorf("打印机备注不能超过20个字符!print_no : %v ", printNo)
|
return fmt.Errorf("打印机备注不能超过20个字符!print_no : %v ", printNo)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user