- beta禁用打印机

This commit is contained in:
gazebo
2019-07-11 11:22:23 +08:00
parent 4817d5c1c2
commit bef91a9f7e

View File

@@ -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("当前环境不支持打印")