will.chen 7 лет назад
Родитель
Сommit
4aa96d4fa2

+ 0 - 5
src/main/java/com/uas/erp/schedular/finance/mq/RabbitReceiveServiceImpl.java

@@ -37,9 +37,7 @@ public class RabbitReceiveServiceImpl extends BaseRabbitReceiveService {
     private final static String SECRETKEY = "600d3f07955ba67fe050007f01002db2";
     private final static String BASEPATH = "https://finrest.usofchina.com";
     private final static String UASURL = "http://218.18.115.198:8888/ERP";
-//    private final static String UASURL = "http://192.168.253.41:8080/ERP";
     private final static String MASTERNAME = "YITOA_BL";
-//    private final static String MASTERNAME = "YITOA_BL_BAKCUP";
 
     @PostConstruct
     public void init() throws InterruptedException {
@@ -68,13 +66,11 @@ public class RabbitReceiveServiceImpl extends BaseRabbitReceiveService {
 
     @Override
     public void processMessage(MessageInfo messageInfo) throws Exception {
-//        messageInfo.getUserId().equals()
         switch (messageInfo.getAppId()){
             case "1001":                //应收宝
                 processMessageForReceivable(messageInfo.getBizId(), messageInfo.getBizType());
                 break;
             default:
-                //throw new Exception();
                 break;
         }
     }
@@ -100,7 +96,6 @@ public class RabbitReceiveServiceImpl extends BaseRabbitReceiveService {
                 codeName = "creditApplyCode";
                 break;
             default:
-                //throw new Exception();
                 break;
         }
         Execute(url, bizId, uasURL, codeName);