- 所有环境打印打印
This commit is contained in:
@@ -47,8 +47,10 @@ func PrintOrderByOrder(ctx *jxcontext.Context, order *model.GoodsOrder) (printRe
|
||||
PrintResult: partner.PrintResultNoPrinter,
|
||||
}, nil
|
||||
}
|
||||
if globals.EnableStoreWrite {
|
||||
if true { //globals.EnableStoreWrite {
|
||||
printResult, err = handler.PrintOrder(ctx, store, order)
|
||||
} else {
|
||||
err = fmt.Errorf("当前环境不支持打印")
|
||||
}
|
||||
if err == nil {
|
||||
dao.SetOrderPrintFlag(db, ctx.GetUserName(), order.VendorOrderID, order.VendorID, true)
|
||||
|
||||
Reference in New Issue
Block a user