- PrintOrderByOrder只有在prod下才生效
This commit is contained in:
@@ -32,7 +32,9 @@ func PrintOrderByOrder(ctx *jxcontext.Context, order *model.GoodsOrder) (printRe
|
|||||||
PrintResult: partner.PrintResultNoPrinter,
|
PrintResult: partner.PrintResultNoPrinter,
|
||||||
}, nil
|
}, nil
|
||||||
} else {
|
} else {
|
||||||
return handler.PrintOrder(ctx, store, order)
|
if globals.EnableStoreWrite {
|
||||||
|
printResult, err = handler.PrintOrder(ctx, store, order)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user