aa
This commit is contained in:
@@ -40,6 +40,7 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
getCode = fmt.Sprintf("<B>饿百取货码:%s</B><BR><BR>\n", jxutils.GetEbaiOrderGetCode(order))
|
getCode = fmt.Sprintf("<B>饿百取货码:%s</B><BR><BR>\n", jxutils.GetEbaiOrderGetCode(order))
|
||||||
}
|
}
|
||||||
orderFmt := ``
|
orderFmt := ``
|
||||||
|
if storeDetail != nil {
|
||||||
if storeDetail.BrandIsPrint == model.NO {
|
if storeDetail.BrandIsPrint == model.NO {
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
<CB>%s</CB><BR><BR>
|
<CB>%s</CB><BR><BR>
|
||||||
@@ -50,6 +51,7 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
orderParams = append(orderParams, storeDetail.BrandName)
|
orderParams = append(orderParams, storeDetail.BrandName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
<C>手机买菜上京西</C><BR>
|
<C>手机买菜上京西</C><BR>
|
||||||
<C>极速到家送惊喜</C><BR>
|
<C>极速到家送惊喜</C><BR>
|
||||||
@@ -124,6 +126,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
}
|
}
|
||||||
orderParams := []interface{}{}
|
orderParams := []interface{}{}
|
||||||
orderFmt := ``
|
orderFmt := ``
|
||||||
|
if storeDetail != nil {
|
||||||
if storeDetail.BrandIsPrint == model.NO {
|
if storeDetail.BrandIsPrint == model.NO {
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
<CB>%s</CB><BR><BR>
|
<CB>%s</CB><BR><BR>
|
||||||
@@ -134,6 +137,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
orderParams = append(orderParams, storeDetail.BrandName)
|
orderParams = append(orderParams, storeDetail.BrandName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
<C>手机买菜上京西</C><BR>
|
<C>手机买菜上京西</C><BR>
|
||||||
<C>极速到家送惊喜</C><BR>
|
<C>极速到家送惊喜</C><BR>
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
}
|
}
|
||||||
orderParams := []interface{}{}
|
orderParams := []interface{}{}
|
||||||
orderFmt := ``
|
orderFmt := ``
|
||||||
|
if storeDetail != nil {
|
||||||
if storeDetail.BrandIsPrint == model.NO {
|
if storeDetail.BrandIsPrint == model.NO {
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
<FS2><center>%s</center></FS2>\n\n
|
<FS2><center>%s</center></FS2>\n\n
|
||||||
@@ -49,6 +50,7 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
orderParams = append(orderParams, storeDetail.BrandName)
|
orderParams = append(orderParams, storeDetail.BrandName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
<center>手机买菜上京西</center>
|
<center>手机买菜上京西</center>
|
||||||
<center>极速到家送惊喜</center>\n
|
<center>极速到家送惊喜</center>\n
|
||||||
@@ -117,6 +119,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
}
|
}
|
||||||
orderParams := []interface{}{}
|
orderParams := []interface{}{}
|
||||||
orderFmt := ``
|
orderFmt := ``
|
||||||
|
if storeDetail != nil {
|
||||||
if storeDetail.BrandIsPrint == model.NO {
|
if storeDetail.BrandIsPrint == model.NO {
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
<FS2><center>%s</center></FS2>\n\n
|
<FS2><center>%s</center></FS2>\n\n
|
||||||
@@ -127,6 +130,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
orderParams = append(orderParams, storeDetail.BrandName)
|
orderParams = append(orderParams, storeDetail.BrandName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
<center>手机买菜上京西</center>
|
<center>手机买菜上京西</center>
|
||||||
<center>极速到家送惊喜</center>\n
|
<center>极速到家送惊喜</center>\n
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
}
|
}
|
||||||
orderParams := []interface{}{}
|
orderParams := []interface{}{}
|
||||||
orderFmt := ``
|
orderFmt := ``
|
||||||
|
if storeDetail != nil {
|
||||||
|
|
||||||
if storeDetail.BrandIsPrint == model.NO {
|
if storeDetail.BrandIsPrint == model.NO {
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
<S2><C>%s</C></S2><RN><RN>
|
<S2><C>%s</C></S2><RN><RN>
|
||||||
@@ -50,6 +52,7 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
orderParams = append(orderParams, storeDetail.BrandName)
|
orderParams = append(orderParams, storeDetail.BrandName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
orderFmt += `
|
orderFmt += `
|
||||||
<C>手机买菜上京西</C>
|
<C>手机买菜上京西</C>
|
||||||
<C>极速到家送惊喜</C><RN>
|
<C>极速到家送惊喜</C><RN>
|
||||||
|
|||||||
Reference in New Issue
Block a user