1
This commit is contained in:
@@ -361,6 +361,7 @@ func changePrinterStatus(printNo string, status int) {
|
||||
|
||||
//按打印机方提供的文档来的
|
||||
func buildMsg(printMsg *model.PrintMsg) (data []byte, err error) {
|
||||
globals.SugarLogger.Debugf("buildMsg===========%s", utils.Format4Output(printMsg, false))
|
||||
var (
|
||||
content = printMsg.Content
|
||||
orderNo = printMsg.OrderNo
|
||||
|
||||
@@ -15,7 +15,7 @@ func TestPrintMsg(t *testing.T) {
|
||||
|
||||
msg := &model.PrintMsg{
|
||||
ModelIDCULD: model.ModelIDCULD{},
|
||||
PrintNo: "20220707000002",
|
||||
PrintNo: "120221008001001",
|
||||
Content: "<center>居中文字</center>",
|
||||
OrderNo: "1", // 2147483648111
|
||||
Status: 0,
|
||||
|
||||
Reference in New Issue
Block a user