- 后端:Search 模块,引用 Dubbo 服务的版本

This commit is contained in:
YunaiV
2019-05-08 23:40:09 +08:00
parent 861dcc14e5
commit e8b95fd03f
3 changed files with 17 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ import static cn.iocoder.common.framework.vo.CommonResult.success;
@Api("商品搜索")
public class UsersProductSearchController {
@Reference(validation = "true")
@Reference(validation = "true", version = "${dubbo.provider.ProductSearchService.version}")
private ProductSearchService productSearchService;
@GetMapping("/page") // TODO 芋艿,后面把 BO 改成 VO