- 后端:解决 Order 和 Search 的 Dubbo 服务引用问题。
This commit is contained in:
@@ -53,7 +53,7 @@ public class OrderReturnServiceImpl implements OrderReturnService {
|
||||
|
||||
@Reference(validation = "true")
|
||||
private OrderLogisticsService orderLogisticsService;
|
||||
@Reference(validation = "true")
|
||||
@Reference(validation = "true", version = "${dubbo.consumer.PayRefundService.version}")
|
||||
private PayRefundService payRefundService;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -65,13 +65,13 @@ public class OrderServiceImpl implements OrderService {
|
||||
@Autowired
|
||||
private CartServiceImpl cartService;
|
||||
|
||||
@Reference(validation = "true")
|
||||
@Reference(validation = "true", version = "${dubbo.consumer.PromotionActivityService.version}")
|
||||
private ProductSpuService productSpuService;
|
||||
@Reference(validation = "true")
|
||||
@Reference(validation = "true", version = "${dubbo.consumer.UserAddressService.version}")
|
||||
private UserAddressService userAddressService;
|
||||
@Reference(validation = "true")
|
||||
@Reference(validation = "true", version = "${dubbo.consumer.PayTransactionService.version}")
|
||||
private PayTransactionService payTransactionService;
|
||||
@Reference(validation = "true")
|
||||
@Reference(validation = "true", version = "${dubbo.consumer.CouponService.version}")
|
||||
private CouponService couponService;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -33,6 +33,14 @@ dubbo:
|
||||
version: 1.0.0
|
||||
CouponService:
|
||||
version: 1.0.0
|
||||
PayRefundService:
|
||||
version: 1.0.0
|
||||
UserAddressService:
|
||||
version: 1.0.0
|
||||
PayTransactionService:
|
||||
version: 1.0.0
|
||||
DataDictService:
|
||||
version: 1.0.0
|
||||
|
||||
# logging
|
||||
logging:
|
||||
|
||||
Reference in New Issue
Block a user