Commit 8887ea61 by tyfanchz

修改:多配置中心问题

1 parent cfc7681b
......@@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.RestController;
* @Title: IndexController.java
* @Description: 远程服务调用demo
* @author think.wang
* @version V1.0
* @version V1.0
* @Company: Didihu.com.cn
* @Copyright Copyright (c) 2017
*/
......@@ -25,9 +25,9 @@ public class IndexController {
@Autowired
private IndexFeignClient indexFeignClient;
@DubboReference(version = "1.0.0")
@DubboReference(version = "1.0.0", registry = {"biz-user"})
private UserService userService;
@ResponseBody
@RequestMapping("home")
public R home(){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!