Переглянути джерело

v20220412接口切换静态数据

gt 3 роки тому
батько
коміт
e41203fb86

+ 6 - 6
src/main/java/com/jd/zfjyjgfwpt/service/impl/FrontServiceImpl.java

@@ -297,8 +297,8 @@ public class FrontServiceImpl implements FrontServiceI {
 
     @Override
     public Map<String, Object> getCompanyBasicInfoById(Map<String, Object> params) {
-//        String resStr = loadLocalJsonFile("getCompanyBasicInfoById");
-        String resStr = HttpUtil.get(RemoteUrlConstants.getCompanyInfo(), params);
+        String resStr = loadLocalJsonFile("getCompanyBasicInfoById");
+//        String resStr = HttpUtil.get(RemoteUrlConstants.getCompanyInfo(), params);
         if (Blank.isEmpty(resStr)) {
             return SendUtil.send(false, "", null);
         }
@@ -532,8 +532,8 @@ public class FrontServiceImpl implements FrontServiceI {
 
     @Override
     public Map<String, Object> countHouseSourceNumByEachArea(Map<String, Object> params) {
-//        String resStr = loadLocalJsonFile("countHouseSourceNumByEachArea");
-        String resStr = HttpUtil.get(RemoteUrlConstants.getCommunityInArea(), params);
+        String resStr = loadLocalJsonFile("countHouseSourceNumByEachArea");
+//        String resStr = HttpUtil.get(RemoteUrlConstants.getCommunityInArea(), params);
         if (Blank.isEmpty(resStr)) {
             return SendUtil.layuiTable(0, null);
         }
@@ -762,8 +762,8 @@ public class FrontServiceImpl implements FrontServiceI {
 
     @Override
     public Map<String, Object> getBrokerPersonListingList(Map<String, Object> params) {
-//        String resStr = loadLocalJsonFile("getBrokerPersonListingList");
-        String resStr = HttpUtil.get(RemoteUrlConstants.getBrokerListingRank(), params);
+        String resStr = loadLocalJsonFile("getBrokerPersonListingList");
+//        String resStr = HttpUtil.get(RemoteUrlConstants.getBrokerListingRank(), params);
 
         if (Blank.isEmpty(resStr)) {
             return SendUtil.layuiTable(0, null);