[重大更新] 使用 spring feign 替代 HttpServiceClient (功能太新 支持不完全 使用成本太高)

This commit is contained in:
疯狂的狮子Li
2026-03-23 11:50:48 +08:00
parent b6d2274b53
commit 485c2001ae
63 changed files with 820 additions and 1163 deletions

View File

@@ -1,38 +0,0 @@
package org.dromara.common.core.annotation;
import org.springframework.core.annotation.AliasFor;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 声明远程 HTTP Service 所属服务.
*
* @author Lion Li
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RemoteHttpService {
/**
* 服务名.
*/
@AliasFor("serviceId")
String value() default "";
/**
* 服务名.
*/
@AliasFor("value")
String serviceId() default "";
/**
* 远程调用失败时的 fallback 实现.
*/
Class<?> fallback() default void.class;
}