From 0757b45d08a8680cd0aad2d305a7cce1859f8a9f Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Thu, 16 May 2019 10:15:19 +0800 Subject: [PATCH] =?UTF-8?q?-=20provider=20=E6=B7=BB=E5=8A=A0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/order/biz/service/OrderLogisticsServiceImpl.java | 2 +- .../mall/order/biz/service/OrderReturnServiceImpl.java | 2 +- .../cn/iocoder/mall/order/biz/service/OrderServiceImpl.java | 2 +- .../src/main/resources/config/application.yaml | 6 ++++++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderLogisticsServiceImpl.java b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderLogisticsServiceImpl.java index b00c40fcb..038a26461 100644 --- a/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderLogisticsServiceImpl.java +++ b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderLogisticsServiceImpl.java @@ -34,7 +34,7 @@ import java.util.stream.Collectors; * @time 2019-04-12 21:32 */ @Service -@org.apache.dubbo.config.annotation.Service(validation = "true") +@org.apache.dubbo.config.annotation.Service(validation = "true", version = "${dubbo.provider.OrderLogisticsService.version}") public class OrderLogisticsServiceImpl implements OrderLogisticsService { @Autowired diff --git a/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderReturnServiceImpl.java b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderReturnServiceImpl.java index 3c77c12d1..5919b66ef 100644 --- a/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderReturnServiceImpl.java +++ b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderReturnServiceImpl.java @@ -40,7 +40,7 @@ import java.util.UUID; * @time 2019-03-30 15:35 */ @Service -@org.apache.dubbo.config.annotation.Service(validation = "true") +@org.apache.dubbo.config.annotation.Service(validation = "true", version = "${dubbo.provider.OrderReturnService.version}") public class OrderReturnServiceImpl implements OrderReturnService { @Autowired diff --git a/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderServiceImpl.java b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderServiceImpl.java index 2ac5123d5..e3f13568b 100644 --- a/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderServiceImpl.java +++ b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/service/OrderServiceImpl.java @@ -40,7 +40,7 @@ import java.util.stream.Collectors; * @time 2019-03-16 15:08 */ @Service -@org.apache.dubbo.config.annotation.Service(validation = "true") +@org.apache.dubbo.config.annotation.Service(validation = "true", version = "${dubbo.provider.OrderService.version}") public class OrderServiceImpl implements OrderService { /** diff --git a/order/order-service-impl/src/main/resources/config/application.yaml b/order/order-service-impl/src/main/resources/config/application.yaml index 7a190c48a..8a1097df9 100644 --- a/order/order-service-impl/src/main/resources/config/application.yaml +++ b/order/order-service-impl/src/main/resources/config/application.yaml @@ -38,6 +38,12 @@ dubbo: filter: -exception CartService: version: 1.0.0 + OrderService: + version: 1.0.0 + OrderReturnService: + version: 1.0.0 + OrderLogisticsService: + version: 1.0.0 consumer: timeout: 120000 # 设置长一点,方便调试代码 ProductSpuService: