- 临时在beta越用打印
This commit is contained in:
@@ -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("当前环境不支持打印")
|
||||
|
||||
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user