From 093b73aadb022895a02dbbcd64b87613e19b547b Mon Sep 17 00:00:00 2001
From: 1098226878@qq.com <1098226878@qq.com>
Date: 星期一, 10 一月 2022 18:05:21 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity

---
 service-api/src/main/java/com/java110/api/smo/impl/RoomServiceSMOImpl.java |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/service-api/src/main/java/com/java110/api/smo/impl/RoomServiceSMOImpl.java b/service-api/src/main/java/com/java110/api/smo/impl/RoomServiceSMOImpl.java
index 63cb8d8..b522433 100644
--- a/service-api/src/main/java/com/java110/api/smo/impl/RoomServiceSMOImpl.java
+++ b/service-api/src/main/java/com/java110/api/smo/impl/RoomServiceSMOImpl.java
@@ -58,7 +58,7 @@
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
         paramIn.put("userId", pd.getUserId());
         responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
-                ServiceConstant.SERVICE_API_URL + "/api/room.saveRoom",
+                "room.saveRoom",
                 HttpMethod.POST);
 
         return responseEntity;
@@ -87,7 +87,7 @@
         //鏁版嵁鏍¢獙鏄惁 鍟嗘埛鏄惁鍏ラ┗璇ュ皬鍖�
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
 
-        String apiUrl = ServiceConstant.SERVICE_API_URL + "/api/room.queryRooms" + mapToUrlParam(paramIn);
+        String apiUrl = "room.queryRooms" + mapToUrlParam(paramIn);
 
         responseEntity = this.callCenterService(restTemplate, pd, "",
                 apiUrl,
@@ -118,7 +118,7 @@
         //鏁版嵁鏍¢獙鏄惁 鍟嗘埛鏄惁鍏ラ┗璇ュ皬鍖�
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
 
-        String apiUrl = ServiceConstant.SERVICE_API_URL + "/api/room.queryRoomsByOwner" + mapToUrlParam(paramIn);
+        String apiUrl = "room.queryRoomsByOwner" + mapToUrlParam(paramIn);
 
         responseEntity = this.callCenterService(restTemplate, pd, "",
                 apiUrl,
@@ -142,7 +142,7 @@
             feeMap.put("communityId", communityId);
             feeMap.put("feeTypeCd", FeeTypeConstant.FEE_TYPE_PROPERTY);
             feeMap.put("roomId", roomObj.getString("roomId"));
-            apiUrl = ServiceConstant.SERVICE_API_URL + "/api/fee.listFee" + mapToUrlParam(feeMap);
+            apiUrl = "fee.listFee" + mapToUrlParam(feeMap);
             responseEntity = this.callCenterService(restTemplate, pd, "",
                     apiUrl,
                     HttpMethod.GET);
@@ -187,7 +187,7 @@
         //鏁版嵁鏍¢獙鏄惁 鍟嗘埛鏄惁鍏ラ┗璇ュ皬鍖�
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
 
-        String apiUrl = ServiceConstant.SERVICE_API_URL + "/api/room.queryRoomsWithOutSell" + mapToUrlParam(paramIn);
+        String apiUrl = "room.queryRoomsWithOutSell" + mapToUrlParam(paramIn);
 
         responseEntity = this.callCenterService(restTemplate, pd, "",
                 apiUrl,
@@ -218,7 +218,7 @@
         //鏁版嵁鏍¢獙鏄惁 鍟嗘埛鏄惁鍏ラ┗璇ュ皬鍖�
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
 
-        String apiUrl = ServiceConstant.SERVICE_API_URL + "/api/room.queryRoomsWithSell" + mapToUrlParam(paramIn);
+        String apiUrl = "room.queryRoomsWithSell" + mapToUrlParam(paramIn);
 
         responseEntity = this.callCenterService(restTemplate, pd, "",
                 apiUrl,
@@ -248,7 +248,7 @@
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
         paramIn.put("userId", pd.getUserId());
         responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
-                ServiceConstant.SERVICE_API_URL + "/api/room.updateRoom",
+                "room.updateRoom",
                 HttpMethod.POST);
 
         return responseEntity;
@@ -276,7 +276,7 @@
         super.checkStoreEnterCommunity(pd, storeId, storeTypeCd, communityId, restTemplate);
         paramIn.put("userId", pd.getUserId());
         responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
-                ServiceConstant.SERVICE_API_URL + "/api/room.deleteRoom",
+                "room.deleteRoom",
                 HttpMethod.POST);
 
         return responseEntity;
@@ -306,7 +306,7 @@
         paramIn.put("userId", pd.getUserId());
         paramIn.put("storeId", storeId);
         responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
-                ServiceConstant.SERVICE_API_URL + "/api/room.sellRoom",
+                "room.sellRoom",
                 HttpMethod.POST);
 
         return responseEntity;
@@ -335,7 +335,7 @@
         paramIn.put("userId", pd.getUserId());
         paramIn.put("storeId", storeId);
         responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
-                ServiceConstant.SERVICE_API_URL + "/api/room.exitRoom",
+                "room.exitRoom",
                 HttpMethod.POST);
 
         return responseEntity;

--
Gitblit v1.8.0