门店在绑定打印机时,将电话号码作为打印机的printKey
This commit is contained in:
@@ -63,8 +63,9 @@ func (c *PrinterHandler) RegisterPrinter(ctx *jxcontext.Context, id1, id2, print
|
||||
if globals.EnableStoreWrite {
|
||||
err = api.JxPrintAPI.AddPrinter([]*jxprintapi.AddPrinterParam{
|
||||
&jxprintapi.AddPrinterParam{
|
||||
PrintNo: id1,
|
||||
PrintNo: id1, // 打印机编号
|
||||
Name: printerName,
|
||||
SIM: id2, // printKey-指定验证用户号码
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user