From f9c4f9fa50baf25be1700ffd3ff6eff3878a04a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 20 Jul 2022 13:54:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E4=BF=AE=E6=94=B9=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/print.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/print.go b/business/jxstore/cms/print.go index 8f5403b81..b63a0c184 100644 --- a/business/jxstore/cms/print.go +++ b/business/jxstore/cms/print.go @@ -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) } }