|
@@ -4,7 +4,9 @@ import com.xy.FeignInterceptor;
|
|
|
import com.xy.consts.ServiceConsts;
|
|
|
import com.xy.service.MsgMqttConsumer;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
+import org.springframework.context.annotation.Primary;
|
|
|
|
|
|
+@Primary
|
|
|
@FeignClient(value = ServiceConsts.SERVICE_NAME, configuration = FeignInterceptor.class)
|
|
|
public interface SysMsgMqttConsumerFeign extends MsgMqttConsumer {
|
|
|
}
|