From 9febefd876464497d29c27fea94cb59ac539664e Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期六, 13 四月 2019 23:28:55 +0800
Subject: [PATCH] 修改保存商户目录地址bug

---
 java110-event/src/main/java/com/java110/event/service/api/ServiceDataFlowEventPublishing.java |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/java110-event/src/main/java/com/java110/event/service/api/ServiceDataFlowEventPublishing.java b/java110-event/src/main/java/com/java110/event/service/api/ServiceDataFlowEventPublishing.java
index 0cddc2a..6c29fc7 100644
--- a/java110-event/src/main/java/com/java110/event/service/api/ServiceDataFlowEventPublishing.java
+++ b/java110-event/src/main/java/com/java110/event/service/api/ServiceDataFlowEventPublishing.java
@@ -83,7 +83,8 @@
                 dataFlowListeners.add(listener);
             }
             //鐗规畩澶勭悊 閫忎紶绫绘帴鍙�
-            if(ServiceCodeConstant.SERVICE_CODE_DO_SERVICE_TRANSFER.equals(listener.getServiceCode())){
+            if(ServiceCodeConstant.SERVICE_CODE_DO_SERVICE_TRANSFER.equals(listener.getServiceCode())
+                    && ServiceCodeConstant.SERVICE_CODE_DO_SERVICE_TRANSFER.equals(serviceCode)){
                 dataFlowListeners.add(listener);
             }
         }
@@ -148,14 +149,6 @@
                     "鏈嶅姟銆�" + serviceCode + "銆戣皟鐢ㄦ柟寮忋��"+httpMethod+"銆戝綋鍓嶄笉鏀寔");
         }
         for (final ServiceDataFlowListener listener : listeners) {
-            //濡傛灉鏄�忎紶绫� 璇锋眰鏂瑰紡蹇呴』涓庢帴鍙f彁渚涙柟璋冪敤鏂瑰紡涓�鑷�
-            if(ServiceCodeConstant.SERVICE_CODE_DO_SERVICE_TRANSFER.equals(serviceCode)){
-                AppService appService = event.getAppService();
-                if(!appService.getMethod().equals(httpMethod)) {
-                    throw new ListenerExecuteException(ResponseConstant.RESULT_CODE_ERROR,
-                            "鏈嶅姟銆�" + serviceCode + "銆戣皟鐢ㄦ柟寮忎笉瀵硅妫�鏌�,褰撳墠璇锋眰鏂瑰紡涓猴細"+httpMethod);
-                }
-            }
 
             if(CommonConstant.PROCESS_ORDER_ASYNCHRONOUS.equals(asyn)){ //寮傛澶勭悊
 

--
Gitblit v1.8.0