Commit dd077c76 by 刘宇峰

用户组织feign开放接口

1 parent efed2738
......@@ -35,9 +35,8 @@ public interface OrganizationService {
* @param userIds
* @return
*/
@GetMapping(value = "/getTenantPathsByUserId", consumes = MediaType.APPLICATION_JSON_VALUE)
R<List<Organization>> getTenantPathsByUserId(@RequestParam("userIds") List<Long> userIds);
@GetMapping(value = "/getTenantPathsByUserIds", consumes = MediaType.APPLICATION_JSON_VALUE)
R<List<Organization>> getTenantPathsByUserIds(@RequestParam("userIds") List<Long> userIds);
/**
* 获取根组织层级
......
......@@ -24,7 +24,7 @@ public class OrganizationServiceFallbackImpl implements OrganizationService {
}
@Override
public R<List<Organization>> getTenantPathsByUserId(List<Long> userIds) {
public R<List<Organization>> getTenantPathsByUserIds(List<Long> userIds) {
log.warn("熔断啦 {}", cause.getMessage());
return R.ok();
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!