|
@@ -1,6 +1,6 @@
|
|
package com.usky.system;
|
|
package com.usky.system;
|
|
|
|
|
|
-import com.usky.system.factory.RemoteTenantFallbackFactory;
|
|
|
|
|
|
+import com.usky.system.factory.RemoteDeptFallbackFactory;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@@ -12,7 +12,7 @@ import java.util.Map;
|
|
* @author han
|
|
* @author han
|
|
* @date 2023/12/08 10:51
|
|
* @date 2023/12/08 10:51
|
|
*/
|
|
*/
|
|
-@FeignClient(contextId = "remoteDeptService", value = "usky-system", fallbackFactory = RemoteTenantFallbackFactory.class)
|
|
|
|
|
|
+@FeignClient(contextId = "remoteDeptService", value = "usky-system", fallbackFactory = RemoteDeptFallbackFactory.class)
|
|
public interface RemoteDeptService {
|
|
public interface RemoteDeptService {
|
|
/**
|
|
/**
|
|
* 获得所有部门
|
|
* 获得所有部门
|