1
This commit is contained in:
@@ -33,7 +33,7 @@ func (c *PrinterHandler) GetVendorID() int {
|
||||
}
|
||||
|
||||
func (c *PrinterHandler) PrintMsg(ctx *jxcontext.Context, printSn, orderSeq, msgTitle, msgContent string) (printerStatus *partner.PrinterStatus, err error) {
|
||||
if printSn != "" && globals.EnableStoreWrite {
|
||||
if printSn != "" {
|
||||
printSn = strings.Split(printSn, "_")[0]
|
||||
if _, err := api.JxPrintAPI.DoPrint(printSn, msgContent, utils.Str2Int(orderSeq)); err == nil {
|
||||
return c.GetPrinterStatus(ctx, printSn, "")
|
||||
|
||||
Reference in New Issue
Block a user