- 临时在beta越用打印

This commit is contained in:
gazebo
2019-07-11 11:09:11 +08:00
parent 17386abc79
commit d11e3d84cd
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -150,7 +150,7 @@ type Store struct {
PrinterVendorID int `orm:"column(printer_vendor_id);" json:"printerVendorID"`
PrinterSN string `orm:"size(32);column(printer_sn);index" json:"printerSN"`
PrinterKey string `orm:"size(64)" json:"printerKey"`
PrinterBindInfo string `orm:"size(1024)" json:"_"`
PrinterBindInfo string `orm:"size(1024)" json:"-"`
IDCardFront string `orm:"size(255);column(id_card_front)" json:"idCardFront"`
IDCardBack string `orm:"size(255);column(id_card_back)" json:"idCardBack"`