com.obatis.core.annotation.request.ConfigFeignClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of obatis-web Show documentation
Show all versions of obatis-web Show documentation
obatis-web, apply web project
package com.obatis.core.annotation.request;
import org.springframework.cloud.openfeign.FeignClient;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* 微服务 Feign调用封装,自动实现熔断机制参数返回,无效强制方法实现
* @author HuangLongPu
*/
@Target({ METHOD })
@Retention(RUNTIME)
@Documented
@FeignClient
public @interface ConfigFeignClient {
/**
* 服务名称
* @return
*/
String value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy