Commit 4b2a3d19 by 杨卫

feat:dubbo rpc 配置

1 parent ffa5472d
package cn.com.glsx.dj.riskmanage.config;
import cn.com.glsx.dj.riskmanage.remote.GoodsRelatedPartyRemote;
import cn.com.glsx.scrm.proxy.remote.CommonProxyRemote;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
......@@ -55,10 +55,10 @@ public class ScrmProxyDubboConfig extends DubboConfig{
// return factory.builder(UserRemote.class).check(check).timeout(timeout).build();
// }
//
// @Bean
// public CommonProxyRemote commonProxyRemote(){
// return factory.builder(CommonProxyRemote.class).check(check).timeout(timeout).build();
// }
@Bean
public CommonProxyRemote commonProxyRemote(){
return factory.builder(CommonProxyRemote.class).check(check).timeout(timeout).build();
}
//
// @Bean
// public CommLabelRemote commLabelRemote() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!