diff --git a/business/partner/printer/xpyun/xpyun.go b/business/partner/printer/xpyun/xpyun.go index 10c726697..4f9c13136 100644 --- a/business/partner/printer/xpyun/xpyun.go +++ b/business/partner/printer/xpyun/xpyun.go @@ -330,11 +330,9 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder, orderFmt += xpyunapi.StrRepeat("-", 32) + ` 下单时间: %s -订单编号: %s
-` - orderFmt += ` +订单编号: %s %s#%d -` + title + xpyunapi.StrRepeat("-", 32) +` + title orderParams = append(orderParams, utils.Time2Str(order.OrderCreatedAt), order.VendorOrderID, @@ -378,10 +376,8 @@ func (c *PrinterHandler) getCancelOrRefundOrderContentBig(order *model.GoodsOrde xpyunapi.StrRepeat("-", 32) + ` 下单时间: %s 订单编号: %s
-` - orderFmt += ` %s#%d -` + title + xpyunapi.StrRepeat("-", 32) +` + title orderParams = append(orderParams, utils.Time2Str(order.OrderCreatedAt), order.VendorOrderID,