From 052c1362e059a2333b9b5fd8fce06c9fafd58baf Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Mon, 28 Jun 2021 14:41:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E4=BF=A1=E6=81=AF=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/print.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/business/model/print.go b/business/model/print.go index ed71007d2..2c50b893f 100644 --- a/business/model/print.go +++ b/business/model/print.go @@ -15,3 +15,18 @@ func (v *Printer) TableIndex() [][]string { []string{"PrintNo"}, } } + +type PrintMsg struct { + ModelIDCULD + + PrintNo string `json:"print_no"` //打印机编号 + OrderNo int `json:"order_no"` //订单序号 + Status int `json:"status"` //打印状态 + Comment string `json:"comment"` //失败原因 +} + +func (v *PrintMsg) TableIndex() [][]string { + return [][]string{ + []string{"PrintNo"}, + } +}