ソースを参照

运营加入物联网 门禁 道闸 进出记录 车辆进出记录等数据

wuxw 1 年間 前
コミット
382403cd78
共有2 個のファイルを変更した30 個の追加30 個の削除を含む
  1. 26 26
      docs/zihao/cloud/HC后端代码构建.yml
  2. 4 4
      service-api/src/main/java/com/java110/api/smo/impl/ApiServiceSMOImpl.java

File diff suppressed because it is too large
+ 26 - 26
docs/zihao/cloud/HC后端代码构建.yml


+ 4 - 4
service-api/src/main/java/com/java110/api/smo/impl/ApiServiceSMOImpl.java

@@ -427,11 +427,11 @@ public class ApiServiceSMOImpl extends LoggerEngine implements IApiServiceSMO {
         ResponseEntity responseEntity = null;
         //配置c_service 时请注意 如果是以out 开头的调用外部的地址
         RestTemplate restTemplate ;
-        if (Environment.isStartBootWay()) {
+//        if (Environment.isStartBootWay()) {
             restTemplate = ApplicationContextFactory.getBean("outRestTemplate", RestTemplate.class);
-        } else {
-            restTemplate = ApplicationContextFactory.getBean("restTemplate", RestTemplate.class);
-        }
+//        } else {
+//            restTemplate = ApplicationContextFactory.getBean("restTemplate", RestTemplate.class);
+//        }
 
         try {
             if (CommonConstant.HTTP_METHOD_GET.equals(service.getMethod())) {