From 8a2a463d46b3dce73015462c9f6a2a258dd25f5b Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 25 二月 2022 11:40:11 +0800
Subject: [PATCH] 优化diamante

---
 service-api/src/main/java/com/java110/api/smo/impl/FrontFeeServiceSMOImpl.java |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/service-api/src/main/java/com/java110/api/smo/impl/FrontFeeServiceSMOImpl.java b/service-api/src/main/java/com/java110/api/smo/impl/FrontFeeServiceSMOImpl.java
index 8ea8cbb..41db51c 100644
--- a/service-api/src/main/java/com/java110/api/smo/impl/FrontFeeServiceSMOImpl.java
+++ b/service-api/src/main/java/com/java110/api/smo/impl/FrontFeeServiceSMOImpl.java
@@ -12,7 +12,7 @@
 import com.java110.utils.util.Assert;
 import com.java110.utils.util.StringUtil;
 import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+import com.java110.core.log.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.HttpMethod;
 import org.springframework.http.HttpStatus;
@@ -55,7 +55,7 @@
             paramIn.put("feeTypeCd", feeTypeCd);
         }
         responseEntity = this.callCenterService(restTemplate, pd, "",
-                ServiceConstant.SERVICE_API_URL + "/api/feeConfig.listFeeConfigs" + mapToUrlParam(paramIn),
+                "feeConfig.listFeeConfigs" + mapToUrlParam(paramIn),
                 HttpMethod.GET);
         if (responseEntity.getStatusCode() != HttpStatus.OK) {
             return responseEntity;
@@ -98,7 +98,7 @@
         //鏁版嵁鏍¢獙鏄惁 鍟嗘埛鏄惁鍏ラ┗璇ュ皬鍖�
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
         responseEntity = this.callCenterService(restTemplate, pd, "",
-                ServiceConstant.SERVICE_API_URL + "/api/fee.queryFeeConfig" + mapToUrlParam(paramIn),
+                "fee.queryFeeConfig" + mapToUrlParam(paramIn),
                 HttpMethod.GET);
         if (responseEntity.getStatusCode() != HttpStatus.OK) {
             return responseEntity;
@@ -145,7 +145,7 @@
         //鏁版嵁鏍¢獙鏄惁 鍟嗘埛鏄惁鍏ラ┗璇ュ皬鍖�
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
         responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
-                ServiceConstant.SERVICE_API_URL + "/api/fee.payFee",
+                "fee.payFee",
                 HttpMethod.POST);
         return responseEntity;
     }
@@ -177,7 +177,7 @@
         //鏁版嵁鏍¢獙鏄惁 鍟嗘埛鏄惁鍏ラ┗璇ュ皬鍖�
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
         responseEntity = this.callCenterService(restTemplate, pd, "",
-                ServiceConstant.SERVICE_API_URL + "/api/fee.queryFee" + mapToUrlParam(paramIn),
+                "fee.queryFee" + mapToUrlParam(paramIn),
                 HttpMethod.GET);
         return responseEntity;
     }
@@ -210,7 +210,7 @@
         //鏁版嵁鏍¢獙鏄惁 鍟嗘埛鏄惁鍏ラ┗璇ュ皬鍖�
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
         responseEntity = this.callCenterService(restTemplate, pd, "",
-                ServiceConstant.SERVICE_API_URL + "/api/fee.queryFeeByParkingSpace" + mapToUrlParam(paramIn),
+                "fee.queryFeeByParkingSpace" + mapToUrlParam(paramIn),
                 HttpMethod.GET);
         return responseEntity;
     }
@@ -236,7 +236,7 @@
         //鏁版嵁鏍¢獙鏄惁 鍟嗘埛鏄惁鍏ラ┗璇ュ皬鍖�
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
         responseEntity = this.callCenterService(restTemplate, pd, "",
-                ServiceConstant.SERVICE_API_URL + "/api/fee.queryFeeDetail" + mapToUrlParam(paramIn),
+                "fee.queryFeeDetail" + mapToUrlParam(paramIn),
                 HttpMethod.GET);
         return responseEntity;
     }
@@ -268,11 +268,11 @@
         paramIn.put("feeTypeCd", FeeTypeConstant.FEE_TYPE_PROPERTY);
         if (!paramIn.containsKey("configId") || StringUtil.isEmpty(paramIn.getString("configId"))) {
             responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
-                    ServiceConstant.SERVICE_API_URL + "/api/fee.saveFeeConfig",
+                    "fee.saveFeeConfig",
                     HttpMethod.POST);
         } else {
             responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
-                    ServiceConstant.SERVICE_API_URL + "/api/fee.updateFeeConfig",
+                    "fee.updateFeeConfig",
                     HttpMethod.POST);
         }
 
@@ -307,11 +307,11 @@
 
         if (!paramIn.containsKey("configId") || StringUtil.isEmpty(paramIn.getString("configId"))) {
             responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
-                    ServiceConstant.SERVICE_API_URL + "/api/fee.saveFeeConfig",
+                    "fee.saveFeeConfig",
                     HttpMethod.POST);
         } else {
             responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
-                    ServiceConstant.SERVICE_API_URL + "/api/fee.updateFeeConfig",
+                    "fee.updateFeeConfig",
                     HttpMethod.POST);
         }
 
@@ -340,7 +340,7 @@
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
 
         responseEntity = this.callCenterService(restTemplate, pd, "",
-                ServiceConstant.SERVICE_API_URL + "/api/fee.queryArrearsFee" + super.mapToUrlParam(paramIn),
+                "fee.queryArrearsFee" + super.mapToUrlParam(paramIn),
                 HttpMethod.GET);
 
         return responseEntity;

--
Gitblit v1.8.0