Commit 1c094d7b by 春觉晓

去除本地调用配置

1 parent 89439018
...@@ -42,13 +42,12 @@ public class DubboConfig { ...@@ -42,13 +42,12 @@ public class DubboConfig {
.builder(PayOrderRemote.class) .builder(PayOrderRemote.class)
.check(false) .check(false)
.timeout(timeout) .timeout(timeout)
.url("dubbo://127.0.0.1:20883")
.build(); .build();
} }
@Bean @Bean
public MerchantGoodsInfoRemote merchantGoodsInfoRemote() { public MerchantGoodsInfoRemote merchantGoodsInfoRemote() {
return factory.builder(MerchantGoodsInfoRemote.class).check(false).url("dubbo://127.0.0.1:20883").timeout(timeout).version("1.0.0").build(); return factory.builder(MerchantGoodsInfoRemote.class).check(false).timeout(timeout).version("1.0.0").build();
} }
@Bean @Bean
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!