|
|
|
@ -483,7 +483,7 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
msgContent.put("order", highOrderService.getGasOrderDetail(highOrder.getOrderNo())); |
|
|
|
|
msgContent.put("voice", baiduVoiceService.text2audio(highOrder.getHighChildOrderList().get(0).getGoodsName() + ",收款:" + highOrder.getTotalPrice())); |
|
|
|
|
pushMsg.put("message", JSONObject.toJSONString(msgContent)); |
|
|
|
|
HttpsUtils.doGet("http://127.0.0.1:9901/msg/websocket/websocket", pushMsg); |
|
|
|
|
HttpsUtils.doPost("http://127.0.0.1:9901/msg/websocket/websocket", pushMsg, new HashMap<>()); |
|
|
|
|
} |
|
|
|
|
}).start(); |
|
|
|
|
} |
|
|
|
@ -753,7 +753,7 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
msgContent.put("order", highOrderService.getGasOrderDetail(order.getOrderNo())); |
|
|
|
|
msgContent.put("voice", baiduVoiceService.text2audio(order.getHighChildOrderList().get(0).getGoodsName() + ",收款:" + order.getTotalPrice())); |
|
|
|
|
pushMsg.put("message", JSONObject.toJSONString(msgContent)); |
|
|
|
|
HttpsUtils.doGet("http://127.0.0.1:9901/msg/websocket/websocket", pushMsg); |
|
|
|
|
HttpsUtils.doPost("http://127.0.0.1:9901/msg/websocket/websocket", pushMsg, new HashMap<>()); |
|
|
|
|
} |
|
|
|
|
}).start(); |
|
|
|
|
} |
|
|
|
@ -1110,7 +1110,7 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
msgContent.put("order", highOrderService.getGasOrderDetail(order.getOrderNo())); |
|
|
|
|
msgContent.put("voice", baiduVoiceService.text2audio(order.getHighChildOrderList().get(0).getGoodsName() + ",收款:" + order.getTotalPrice())); |
|
|
|
|
pushMsg.put("message", JSONObject.toJSONString(msgContent)); |
|
|
|
|
HttpsUtils.doGet("http://127.0.0.1:9901/msg/websocket/websocket", pushMsg); |
|
|
|
|
HttpsUtils.doPost("http://127.0.0.1:9901/msg/websocket/websocket", pushMsg, new HashMap<>()); |
|
|
|
|
} |
|
|
|
|
}).start(); |
|
|
|
|
} |
|
|
|
|