package com.crm.gateway.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "MANAGER-SERVICE")
public interface UserFeignService {

    @PostMapping("/user/display/{roleId}")
    String getUserNodeDisplay(@PathVariable("roleId") Long roleId) throws Exception;
}
