添加FeignClient注释

pull/120/head
choqy 4 years ago
parent 0cdb340ad4
commit 37181a3a7c

@ -13,7 +13,9 @@ import com.ruoyi.system.api.factory.RemoteFileFallbackFactory;
/** /**
* *
* *
* @author ruoyi * IP访dockerurl访
* lynn.server.local IP使hosts
* url = "http://lynn.server.local:9201/",
*/ */
@FeignClient(contextId = "remoteFileService", value = ServiceNameConstants.FILE_SERVICE, fallbackFactory = RemoteFileFallbackFactory.class) @FeignClient(contextId = "remoteFileService", value = ServiceNameConstants.FILE_SERVICE, fallbackFactory = RemoteFileFallbackFactory.class)
public interface RemoteFileService public interface RemoteFileService

@ -14,9 +14,11 @@ import com.ruoyi.system.api.factory.RemoteLogFallbackFactory;
/** /**
* *
* *
* @author ruoyi * IP访dockerurl访
* lynn.server.local IP使hosts
* url = "http://lynn.server.local:9201/",
*/ */
@FeignClient(contextId = "remoteLogService", url = "http://lynn.server.local:9201/", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteLogFallbackFactory.class) @FeignClient(contextId = "remoteLogService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteLogFallbackFactory.class)
public interface RemoteLogService public interface RemoteLogService
{ {
/** /**

Loading…
Cancel
Save