- 后端:解决 Order 和 Search 的 Dubbo 服务引用问题。
This commit is contained in:
@@ -42,9 +42,9 @@ public class OrderController {
|
||||
|
||||
@Reference(validation = "true")
|
||||
private OrderService orderService;
|
||||
@Reference(validation = "true")
|
||||
@Reference(validation = "true", version = "${dubbo.provider.CartService.version}")
|
||||
private CartService cartService;
|
||||
@Reference(validation = "true")
|
||||
@Reference(validation = "true", version = "${dubbo.consumer.DataDictService.version}")
|
||||
private DataDictService dataDictService;
|
||||
|
||||
@GetMapping("order_page")
|
||||
|
||||
@@ -37,7 +37,7 @@ public class OrderLogisticsController {
|
||||
|
||||
@Reference(validation = "true")
|
||||
private OrderLogisticsService orderLogisticsService;
|
||||
@Reference(validation = "true")
|
||||
@Reference(validation = "true", version = "${dubbo.consumer.DataDictService.version}")
|
||||
private DataDictService dataDictService;
|
||||
|
||||
@GetMapping("info")
|
||||
|
||||
@@ -27,7 +27,7 @@ public class OrderReturnController {
|
||||
|
||||
@Reference(validation = "true")
|
||||
private OrderReturnService orderReturnService;
|
||||
@Reference(validation = "true")
|
||||
@Reference(validation = "true", version = "${dubbo.consumer.DataDictService.version}")
|
||||
private DataDictService dataDictService;
|
||||
|
||||
@GetMapping("reason")
|
||||
|
||||
Reference in New Issue
Block a user