ruoyi-api/ruoyi-api-company/src/main/java/com/ruoyi/company/api/factory/RemoteCompanyFallbackFactory.java
@@ -6,6 +6,7 @@ import lombok.extern.log4j.Log4j2; import org.springframework.cloud.openfeign.FallbackFactory; import org.springframework.stereotype.Component; import org.springframework.web.bind.annotation.GetMapping; import java.util.List; @@ -16,6 +17,7 @@ public RemoteCompanyService create(Throwable cause) { return new RemoteCompanyService() { @GetMapping("/front/company/getCompanyByUserId") @Override public R<List<Company>> getCompanyByUserId(Long userId, String source) { return R.fail(cause.getMessage());