1
This commit is contained in:
@@ -107,8 +107,8 @@ func (c *PrinterHandler) getOrderContent(order *model.GoodsOrder, storeTel strin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
orderFmt += `<BR>
|
orderFmt += `<BR>
|
||||||
<BOLD>共%d种%d件商品</BOLD>
|
<BOLD>共%d种%d件商品</BOLD><BR>
|
||||||
<B><BOLD>实付:¥%g</BOLD></B>
|
<B><BOLD>实付:¥%s</BOLD></B>
|
||||||
<BR>
|
<BR>
|
||||||
--------------------------------<BR>
|
--------------------------------<BR>
|
||||||
<C><L><BOLD>商品质量问题请联系:</BOLD></L><BR></C>
|
<C><L><BOLD>商品质量问题请联系:</BOLD></L><BR></C>
|
||||||
@@ -120,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, utils.Int64ToFloat64(order.ActualPayPrice), order.StoreName, storeTel, globals.StoreName)
|
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(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...)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -196,7 +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>
|
<B><BOLD>实付:¥%s</BOLD></B>
|
||||||
<BR>
|
<BR>
|
||||||
--------------------------------<BR>
|
--------------------------------<BR>
|
||||||
<C><L><BOLD>商品质量问题请联系:</BOLD></L><BR></C>
|
<C><L><BOLD>商品质量问题请联系:</BOLD></L><BR></C>
|
||||||
@@ -208,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, utils.Int64ToFloat64(order.ActualPayPrice), order.StoreName, storeTel, globals.StoreName)
|
orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(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