From 47e367d1443308c06e3d825b69a668f8ea7894c8 Mon Sep 17 00:00:00 2001
From: hurui <177768073@qq.com>
Date: Fri, 20 May 2022 16:28:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/java/com/hai/config/SpPrinterTemplate.java | 4 ++--
.../java/com/hai/service/impl/HighOrderServiceImpl.java | 6 +++---
.../com/hai/service/pay/impl/GoodsOrderServiceImpl.java | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hai-service/src/main/java/com/hai/config/SpPrinterTemplate.java b/hai-service/src/main/java/com/hai/config/SpPrinterTemplate.java
index 5e483e53..fee25810 100644
--- a/hai-service/src/main/java/com/hai/config/SpPrinterTemplate.java
+++ b/hai-service/src/main/java/com/hai/config/SpPrinterTemplate.java
@@ -41,7 +41,7 @@ public class SpPrinterTemplate {
"加油金额
" +
"¥" + orderPrice + "元
" +
"------------------------------
" +
- "开心又省钱;来"嗨森逛"";
+ "开心又省钱; 来"嗨森逛"";
return str;
}
@@ -80,7 +80,7 @@ public class SpPrinterTemplate {
"加油金额
" +
"¥" + orderPrice + "元
" +
"------------------------------
" +
- "开心又省钱;来"嗨森逛"";
+ "开心又省钱; 来"嗨森逛"";
return str;
}
diff --git a/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java
index bb9af0bd..9b3148ff 100644
--- a/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java
+++ b/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java
@@ -481,7 +481,7 @@ public class HighOrderServiceImpl implements HighOrderService {
Map msgContent = new HashMap<>();
msgContent.put("order", highOrderService.getGasOrderDetail(highOrder.getOrderNo()));
- msgContent.put("voice", baiduVoiceService.text2audio(highOrder.getHighChildOrderList().get(0).getGoodsName() + ",收款:" + highOrder.getTotalPrice()));
+ msgContent.put("voice", baiduVoiceService.text2audio(highOrder.getHighChildOrderList().get(0).getGoodsName() + ",收款:" + highOrder.getTotalPrice() + "元"));
pushMsg.put("message", JSONObject.toJSONString(msgContent));
HttpsUtils.doPost("http://127.0.0.1:9901/msg/websocket/websocket", pushMsg, new HashMap<>());
}
@@ -751,7 +751,7 @@ public class HighOrderServiceImpl implements HighOrderService {
Map msgContent = new HashMap<>();
msgContent.put("order", highOrderService.getGasOrderDetail(order.getOrderNo()));
- msgContent.put("voice", baiduVoiceService.text2audio(order.getHighChildOrderList().get(0).getGoodsName() + ",收款:" + order.getTotalPrice()));
+ msgContent.put("voice", baiduVoiceService.text2audio(order.getHighChildOrderList().get(0).getGoodsName() + ",收款:" + order.getTotalPrice() + "元"));
pushMsg.put("message", JSONObject.toJSONString(msgContent));
HttpsUtils.doPost("http://127.0.0.1:9901/msg/websocket/websocket", pushMsg, new HashMap<>());
}
@@ -1108,7 +1108,7 @@ public class HighOrderServiceImpl implements HighOrderService {
Map msgContent = new HashMap<>();
msgContent.put("order", highOrderService.getGasOrderDetail(order.getOrderNo()));
- msgContent.put("voice", baiduVoiceService.text2audio(order.getHighChildOrderList().get(0).getGoodsName() + ",收款:" + order.getTotalPrice()));
+ msgContent.put("voice", baiduVoiceService.text2audio(order.getHighChildOrderList().get(0).getGoodsName() + ",收款:" + order.getTotalPrice() + "元"));
pushMsg.put("message", JSONObject.toJSONString(msgContent));
HttpsUtils.doPost("http://127.0.0.1:9901/msg/websocket/websocket", pushMsg, new HashMap<>());
}
diff --git a/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java
index 9b5be318..ffc16c68 100644
--- a/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java
+++ b/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java
@@ -448,7 +448,7 @@ public class GoodsOrderServiceImpl implements PayService {
Map msgContent = new HashMap<>();
msgContent.put("order", highOrderService.getGasOrderDetail(order.getOrderNo()));
- msgContent.put("voice", baiduVoiceService.text2audio(order.getHighChildOrderList().get(0).getGoodsName() + ",收款:" + order.getTotalPrice()));
+ msgContent.put("voice", baiduVoiceService.text2audio(order.getHighChildOrderList().get(0).getGoodsName() + ",收款:" + order.getTotalPrice() + "元"));
pushMsg.put("message", JSONObject.toJSONString(msgContent));
HttpsUtils.doPost("http://127.0.0.1:9901/msg/websocket/websocket", pushMsg, new HashMap<>());
}).start();