浏览代码

fix 修改接口

daiyihua 1 年之前
父节点
当前提交
5f89d59ced

+ 1 - 1
ywt-platform-outpatient-web/src/main/java/com/ywt/outpatient/controllers/CheckupBookingController.java

@@ -57,7 +57,7 @@ public class CheckupBookingController {
     private RedisTemplate<String, Object> redisTemplate;
     @DubboReference
     private CheckupBookingRpcService bookingRpcServiceBlockingStub;
-    @DubboReference
+    @DubboReference(url = GlobalConstants.TAIHE_RPC_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL, check = false)
     private TaiheOutpatientService taiheOutpatientServiceBlockingStub;
 
     public static final String PM_TYPE_INDIVIDUAL = "I"; // 预约类型:个人

+ 1 - 1
ywt-platform-outpatient-web/src/main/java/com/ywt/outpatient/controllers/OutpatientController.java

@@ -81,7 +81,7 @@ public class OutpatientController {
     @DubboReference(url = GlobalConstants.CENTRAL_CONTROL_SERVICE_NFYY_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL)
     private TaiheService taiheServiceBlockingStub;
 
-    @DubboReference
+    @DubboReference(url = GlobalConstants.TAIHE_RPC_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL, check = false)
     private TaiheOutpatientService taiheOutpatientServiceBlockingStub;
 
     @DubboReference(url = GlobalConstants.CENTRAL_CONTROL_SERVICE_NFYY_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL)

+ 1 - 1
ywt-platform-outpatient-web/src/main/java/com/ywt/outpatient/controllers/RegisterController.java

@@ -82,7 +82,7 @@ public class RegisterController {
     @Autowired
     private TaiheUserService taiheUserService;
 
-    @DubboReference
+    @DubboReference(url = GlobalConstants.TAIHE_RPC_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL, check = false)
     private TaiheOutpatientService taiheOutpatientServiceBlockingStub;
 
     @DubboReference(url = GlobalConstants.CENTRAL_CONTROL_SERVICE_NFYY_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL)

+ 2 - 1
ywt-platform-outpatient-web/src/main/java/com/ywt/outpatient/controllers/TaiheRegisterController.java

@@ -1,5 +1,6 @@
 package com.ywt.outpatient.controllers;
 
+import com.ywt.biz.common.constant.GlobalConstants;
 import com.ywt.biz.common.enums.PaymentChannelEnum;
 import com.ywt.biz.common.enums.SexEnum;
 import com.ywt.biz.common.enums.TerminalEnum;
@@ -52,7 +53,7 @@ public class TaiheRegisterController {
     @DubboReference
     private OfflineConsultingService offlineConsultingServiceBlockingStub;
 
-    @DubboReference
+    @DubboReference(url = GlobalConstants.TAIHE_RPC_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL, check = false)
     private TaiheRegisterService taiheRegisterServiceBlockingStub;
 
     @DubboReference

+ 1 - 1
ywt-platform-outpatient-web/src/main/java/com/ywt/outpatient/controllers/taihe/DHInspectionController.java

@@ -47,7 +47,7 @@ public class DHInspectionController {
 
     @DubboReference(url = GlobalConstants.CENTRAL_CONTROL_SERVICE_NFYY_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL)
     private TaiheService taiheServiceBlockingStub;
-    @DubboReference
+    @DubboReference(url = GlobalConstants.TAIHE_RPC_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL, check = false)
     private TaiheOutpatientService taiheOutpatientServiceBlockingStub;
     @DubboReference
     private UserService userServiceBlockingStub;

+ 1 - 1
ywt-platform-outpatient-web/src/main/java/com/ywt/outpatient/controllers/taihe/DHOutpatientController.java

@@ -80,7 +80,7 @@ public class DHOutpatientController {
     @Autowired
     private TaiheUserService taiheUserService;
 
-    @DubboReference
+    @DubboReference(url = GlobalConstants.TAIHE_RPC_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL, check = false)
     private TaiheOutpatientService taiheOutpatientServiceBlockingStub;
 
     @DubboReference

+ 1 - 1
ywt-platform-outpatient-web/src/main/java/com/ywt/outpatient/controllers/taihe/OutpatientController.java

@@ -41,7 +41,7 @@ public class OutpatientController {
     @DubboReference(url = GlobalConstants.CENTRAL_CONTROL_SERVICE_NFYY_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL)
     private TaiheService taiheServiceBlockingStub;
 
-    @DubboReference
+    @DubboReference(url = GlobalConstants.TAIHE_RPC_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL, check = false)
     private TaiheOutpatientService taiheOutpatientServiceBlockingStub;
 
     @Autowired

+ 1 - 1
ywt-platform-outpatient-web/src/main/java/com/ywt/outpatient/controllers/taihe/RegisterController.java

@@ -104,7 +104,7 @@ public class RegisterController {
     @Autowired
     private RedisTemplate<String, Object> redisTemplate;
 
-    @DubboReference
+    @DubboReference(url = GlobalConstants.TAIHE_RPC_SERVICE_DUBBO_REFERENCE_URL, protocol = GlobalConstants.DUBBO_REFERENCE_PROTOCOL, check = false)
     private TaiheRegisterService taiheRegisterServiceBlockingStub;
 
     @DubboReference