1
This commit is contained in:
@@ -250,6 +250,7 @@ func (c *PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store,
|
|||||||
if store.PrinterFontSize == partner.PrinterFontSizeBig2 || store.PrinterFontSize == partner.PrinterFontSizeNormal2 {
|
if store.PrinterFontSize == partner.PrinterFontSizeBig2 || store.PrinterFontSize == partner.PrinterFontSizeNormal2 {
|
||||||
printData[PrintNumber] = utils.Int2Str(2)
|
printData[PrintNumber] = utils.Int2Str(2)
|
||||||
}
|
}
|
||||||
|
printData[AppID] = "1000" // 菜市应用
|
||||||
|
|
||||||
orderPrint, err := json.Marshal(printData)
|
orderPrint, err := json.Marshal(printData)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ const (
|
|||||||
OfficialName = "officialName" // 官方名称
|
OfficialName = "officialName" // 官方名称
|
||||||
BigFont = "bigFont" // 是否为大字体
|
BigFont = "bigFont" // 是否为大字体
|
||||||
PrintNumber = "printNumber" // 打印次数
|
PrintNumber = "printNumber" // 打印次数
|
||||||
|
AppID = "appId" // 应用id
|
||||||
)
|
)
|
||||||
|
|
||||||
type SkuListPrintOrder struct {
|
type SkuListPrintOrder struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user