ProxyConfig.java 622 Bytes
package cn.com.glsx.stoassistant.config;

import cn.com.glsx.scrm.coupon.remote.GroupDirectionalGiftRemote;
import cn.com.glsx.scrm.coupon.remote.UserCouponRemote;
import cn.com.glsx.scrm.coupon.remote.UserCouponVerficationRemote;
import cn.com.glsx.scrm.proxy.remote.merchant.MerchantRemote;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ProxyConfig extends DubboConfig {

    @Bean
    public MerchantRemote merchantRemote(){
        return factory.builder(MerchantRemote.class).check(false).timeout(30000).build();
    }
}