From 7bf023c4554e7b365e96706225aedbc968f341d1 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Mon, 20 Mar 2023 16:59:25 +0800 Subject: [PATCH] 1 --- business/partner/printer/xpyun/xpyun.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/business/partner/printer/xpyun/xpyun.go b/business/partner/printer/xpyun/xpyun.go index 461dbfa4f..a694fa41c 100644 --- a/business/partner/printer/xpyun/xpyun.go +++ b/business/partner/printer/xpyun/xpyun.go @@ -329,9 +329,9 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder, } title := `` if printType == model.YES { // 取消订单 - title = `取消订单详情
` + title = `取消订单详情
` } else { // 售后订单 - title = `退款订单详情
` + title = `退款订单详情
` } orderFmt += @@ -348,7 +348,7 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder, ) orderFmt += xpyunapi.StrRepeat("-", 32) orderFmt += `共%d种%d件商品 -实际支付:¥%s
` +实际支付:%s
` orderFmt += xpyunapi.StrRepeat("-", 14) + "#%d完" + xpyunapi.StrRepeat("-", 14) + `
` orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq) return fmt.Sprintf(orderFmt, orderParams...) @@ -374,9 +374,9 @@ func (c *PrinterHandler) getCancelOrRefundOrderContentBig(order *model.GoodsOrde } title := `` if printType == model.YES { // 取消订单 - title = `取消订单详情
` + title = `取消订单详情
` } else { // 售后订单 - title = `退款订单详情
` + title = `退款订单详情
` } orderFmt += @@ -393,7 +393,7 @@ func (c *PrinterHandler) getCancelOrRefundOrderContentBig(order *model.GoodsOrde ) orderFmt += xpyunapi.StrRepeat("-", 32) orderFmt += `共%d种%d件商品 -实际支付:¥%s
` +实际支付:%s
` orderFmt += xpyunapi.StrRepeat("-", 14) + "#%d完" + xpyunapi.StrRepeat("-", 14) + `
` orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq) return fmt.Sprintf(orderFmt, orderParams...)