1
This commit is contained in:
@@ -108,6 +108,7 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
}
|
}
|
||||||
orderFmt += `<BR>
|
orderFmt += `<BR>
|
||||||
<BOLD>共%d种%d件商品</BOLD>
|
<BOLD>共%d种%d件商品</BOLD>
|
||||||
|
<B><BOLD>实付:¥%g</BOLD></B>
|
||||||
<BR>
|
<BR>
|
||||||
--------------------------------<BR>
|
--------------------------------<BR>
|
||||||
<C><L><BOLD>商品质量问题请联系:</BOLD></L><BR></C>
|
<C><L><BOLD>商品质量问题请联系:</BOLD></L><BR></C>
|
||||||
@@ -119,7 +120,7 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
--------------------------------<BR>
|
--------------------------------<BR>
|
||||||
`
|
`
|
||||||
// <QR>http://weixin.qq.com/r/tkkDGzTERmk5rXB49xyk</QR>
|
// <QR>http://weixin.qq.com/r/tkkDGzTERmk5rXB49xyk</QR>
|
||||||
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, order.StoreName, storeTel, globals.StoreName)
|
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, utils.Int64ToFloat64(order.ActualPayPrice), order.StoreName, storeTel, globals.StoreName)
|
||||||
return fmt.Sprintf(strings.Replace(orderFmt, "\n", "", -1), orderParams...)
|
return fmt.Sprintf(strings.Replace(orderFmt, "\n", "", -1), orderParams...)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -195,6 +196,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
}
|
}
|
||||||
orderFmt += `<BR>
|
orderFmt += `<BR>
|
||||||
<B><BOLD>共%d种%d件商品</BOLD></B>
|
<B><BOLD>共%d种%d件商品</BOLD></B>
|
||||||
|
<B><BOLD>实付:¥%g</BOLD></B>
|
||||||
<BR>
|
<BR>
|
||||||
--------------------------------<BR>
|
--------------------------------<BR>
|
||||||
<C><L><BOLD>商品质量问题请联系:</BOLD></L><BR></C>
|
<C><L><BOLD>商品质量问题请联系:</BOLD></L><BR></C>
|
||||||
@@ -206,7 +208,7 @@ func (c *PrinterHandler) getOrderContentBig(order *model.GoodsOrder, storeTel st
|
|||||||
--------------------------------<BR>
|
--------------------------------<BR>
|
||||||
`
|
`
|
||||||
// <QR>http://weixin.qq.com/r/tkkDGzTERmk5rXB49xyk</QR>
|
// <QR>http://weixin.qq.com/r/tkkDGzTERmk5rXB49xyk</QR>
|
||||||
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, order.StoreName, storeTel, globals.StoreName)
|
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, utils.Int64ToFloat64(order.ActualPayPrice), order.StoreName, storeTel, globals.StoreName)
|
||||||
return fmt.Sprintf(strings.Replace(orderFmt, "\n", "", -1), orderParams...)
|
return fmt.Sprintf(strings.Replace(orderFmt, "\n", "", -1), orderParams...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user