- beta禁用打印机
This commit is contained in:
@@ -51,7 +51,7 @@ func PrintOrderByOrder(ctx *jxcontext.Context, order *model.GoodsOrder) (printRe
|
||||
PrintResult: partner.PrintResultNoPrinter,
|
||||
}, nil
|
||||
}
|
||||
if true { //} globals.EnableStoreWrite {
|
||||
if globals.EnableStoreWrite {
|
||||
printResult, err = handler.PrintOrder(ctx, store, order)
|
||||
} else {
|
||||
err = fmt.Errorf("当前环境不支持打印")
|
||||
|
||||
Reference in New Issue
Block a user