From 20fbd266f45473b1f9dba9ded1bd8eb713df7134 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Mon, 28 Jun 2021 16:39:58 +0800 Subject: [PATCH] aa --- business/model/print.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/business/model/print.go b/business/model/print.go index 2c50b893f..f5aa879de 100644 --- a/business/model/print.go +++ b/business/model/print.go @@ -19,10 +19,11 @@ func (v *Printer) TableIndex() [][]string { type PrintMsg struct { ModelIDCULD - PrintNo string `json:"print_no"` //打印机编号 - OrderNo int `json:"order_no"` //订单序号 - Status int `json:"status"` //打印状态 - Comment string `json:"comment"` //失败原因 + PrintNo string `json:"print_no"` //打印机编号 + OrderNo int `json:"order_no"` //订单序号 + Content string `orm:"type(text)" json:"content"` //订单内容 + Status int `json:"status"` //打印状态 + Comment string `json:"comment"` //失败原因 } func (v *PrintMsg) TableIndex() [][]string {