This commit is contained in:
邹宗楠
2022-08-08 11:01:19 +08:00
parent 763c31a5e4
commit 3d67197f90
2 changed files with 2 additions and 0 deletions

View File

@@ -250,6 +250,7 @@ func (c *PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store,
if store.PrinterFontSize == partner.PrinterFontSizeBig2 || store.PrinterFontSize == partner.PrinterFontSizeNormal2 {
printData[PrintNumber] = utils.Int2Str(2)
}
printData[AppID] = "1000" // 菜市应用
orderPrint, err := json.Marshal(printData)
if err != nil {

View File

@@ -37,6 +37,7 @@ const (
OfficialName = "officialName" // 官方名称
BigFont = "bigFont" // 是否为大字体
PrintNumber = "printNumber" // 打印次数
AppID = "appId" // 应用id
)
type SkuListPrintOrder struct {