1
This commit is contained in:
@@ -46,8 +46,13 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
||||
orderFmt := `
|
||||
<big> %s**
|
||||
手机买菜上京西*
|
||||
极速到家送惊喜*
|
||||
------------------------------*
|
||||
极速到家送惊喜*`
|
||||
if order.BusinessType == model.BusinessTypeDingshida {
|
||||
orderFmt += `<big> 预订单*`
|
||||
} else {
|
||||
orderFmt += `<big> 立即送达*`
|
||||
}
|
||||
orderFmt += `------------------------------*
|
||||
下单时间: %s*
|
||||
预计送达: %s*
|
||||
订单编号: %s*
|
||||
@@ -137,8 +142,13 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
||||
orderFmt := `
|
||||
<big> %s**
|
||||
手机买菜上京西*
|
||||
极速到家送惊喜*
|
||||
------------------------------*
|
||||
极速到家送惊喜*`
|
||||
if order.BusinessType == model.BusinessTypeDingshida {
|
||||
orderFmt += `<big> 预订单*`
|
||||
} else {
|
||||
orderFmt += `<big> 立即送达*`
|
||||
}
|
||||
orderFmt += `------------------------------*
|
||||
<big>下单时间: %s**
|
||||
<big>预计送达: %s**
|
||||
<big>订单编号: %s*
|
||||
@@ -215,8 +225,13 @@ func (c *PrinterHandler) getOrderContent2(order *model.GoodsOrder, storeTel stri
|
||||
orderFmt := `
|
||||
|7 %s
|
||||
|5 手机买菜上京西
|
||||
|5 极速到家送惊喜
|
||||
|5--------------------------------
|
||||
|5 极速到家送惊喜`
|
||||
if order.BusinessType == model.BusinessTypeDingshida {
|
||||
orderFmt += `|5 预订单`
|
||||
} else {
|
||||
orderFmt += `|5 立即送达`
|
||||
}
|
||||
orderFmt += `|5--------------------------------
|
||||
|5下单时间: %s
|
||||
|5预计送达: %s
|
||||
|5订单编号: %s
|
||||
|
||||
Reference in New Issue
Block a user