Browse Source

修改消息推送路径

JK 4 years ago
parent
commit
bc68563e93

+ 2 - 6
YijiaRestful/src/main/java/com/platform/yijia/utils/PosPrinterUtil.java

@@ -30,12 +30,8 @@ public class PosPrinterUtil {
     private static Logger logger =(Logger) LoggerFactory.getLogger(PosPrinterUtil.class);
     private static Logger logger =(Logger) LoggerFactory.getLogger(PosPrinterUtil.class);
     //POS机打印订单小票地址 http://www.huijy.net/mqapi/sendPosPrintDirectMessage
     //POS机打印订单小票地址 http://www.huijy.net/mqapi/sendPosPrintDirectMessage
     //mqapi/sendPosPrintTopicMessageAll
     //mqapi/sendPosPrintTopicMessageAll
-    public static final String SEND_POS_PRINT_MESSAGE_URL = "http://www.huijy.net/mqapi/sendPosPrintTopicMessageAll";
-
-    //{"orderId":2061,"orderNo":"11900429834492007021278","oilGun":"1","oilName":"92#","consumerId":24,"consumer":"M","amt":0.01,"stationId":1,
-    // "status":"1","orderLiters":"0.0","payType":"wx","payWay":"03","payDate":"May 6, 2021 5:16:25 PM","oilPersonnel":"小谁,wwew",
-    // "createdDate":"May 6, 2021 5:16:12 PM","orderType":"1","oilPirce":"6.89","stationName":"中化加油站","receivableAmt":0.01,"receivedAmt":0.01,
-    // "discountAmt":0.0,"wxAmt":0.01,"printCount":1,"oilType":"2"}
+    //扇形交换机 sendPosPrintFanoutMessage
+    public static final String SEND_POS_PRINT_MESSAGE_URL = "http://www.huijy.net/mqapi/sendPosPrintFanoutMessage";
 
 
     //推送要打印小票的信息
     //推送要打印小票的信息
     public static String sendPosPrintDirectMessage(Map<String, Object> args){
     public static String sendPosPrintDirectMessage(Map<String, Object> args){